Jump to content

[T]|O|[P]George

Members
  • Posts

    417
  • Joined

  • Last visited

  • Days Won

    1

Everything posted by [T]|O|[P]George

  1. تمام بوضحها لك بس ياريت خاص
  2. ماهو مشفر يقدر يخش ملف arena.lua - ctf.lua و بيلاقي داتا حق التاب يقدر يبدل الدمج - كيلز - او الديث و يحط بداله PlayTime او حسب الداتا عنده اهم شيء بس يحفظ الساعات - لانه لو رستر القيم مود او السيرفر تتصفر
  3. بالهداوة بس فهمنا كلامك ...والله مخي انلحس اكثر مما هو ملحوس
  4. ------------------Client-------------------------- local row, col = guiGridListGetSelectedItem ( GUIEditor.gridlist[1] ) local Group = tostring ( guiGridListGetItemText(GUIEditor.gridlist[1],row,1 )); local Price = tonumber ( guiGridListGetItemText(GUIEditor.gridlist[1],row,2 )); -- عدلت تو سترنج local money = tonumber ( guiGridListGetItemText(GUIEditor.gridlist[1],row,3 )); -- نفس الكلام if ( row and col and row ~= -1 and col ~= -1 ) then triggerServerEvent("gettherank",localPlayer,Group,Price,money) ------------------Server-------------------------- addEvent("gettherank",true) addEventHandler("gettherank",root, function ( Group,Price,money ) local mo = getPlayerMoney(source) if (mo >= tonumber(money)) then takePlayerMoney ( source, tonumber(money) ) end end )
  5. انا كلامي موجه له ما كلمتك + لو هو دخلك ولو كلامي لسة موجه له
  6. في السطر ال16 احسها غلط؟ accountName مدري لو انا غلط او لا بس
  7. انت مكبر الموضوع + ما اشوف مشكلة لو تاكد من شيء و كان النت مفصول ما عرفت اخش ويكي
  8. تقدر تخليه يوم تختار اللاعب يروح تريقر سيرفر و تعطيه داتا مدري تنفع او لا
  9. function () local obj = createObject(model number, x, y, z) -- حط احداثياته setObjectBreakable(obj, false) --- يخليه ما ينكسر end مدري لو بيشتغل او لا بس جرب
  10. حطيت لك + بخش السيرفر الحين بس ياريت تقللوا التحميل .....
  11. اوك بجرب الحين كفو عليك يا ريان
  12. addEventHandler( "onDgsGridListItemDoubleClick", root, function() if (source == grid3) then playSoundFrontEnd(42) local sel = x:dgsGridListGetSelectedItem(grid3) if sel ~= -1 then local ID = x:dgsGridListGetItemData(grid3, sel, 1) local Cost = x:dgsGridListGetItemData(grid3, sel, 2) local Ammo = x:dgsGridListGetItemData(grid3, sel, 3) triggerServerEvent("Get:somthing9898", localPlayer, ID, Cost, Ammo) end end end ) لو خليته كدا يكون انحل بس المشكلة يكرر باللوحة تشيل التحديد عنه
  13. لا كدا بيشيليه ابي ما يحدد الي كان محدد بالاول ما ينفع لانها باقة لما ارجع بخش
  14. addEventHandler( "onDgsGridListItemDoubleClick", root, function(b1,m1) if b1 == "left" and m1 == "down" then playSoundFrontEnd(42) local sel = x:dgsGridListGetSelectedItem(grid3) if sel ~= -1 then local ID = x:dgsGridListGetItemData(grid3, sel, 1) local Cost = x:dgsGridListGetItemData(grid3, sel, 2) local Ammo = x:dgsGridListGetItemData(grid3, sel, 3) triggerServerEvent("Get:somthing9898", localPlayer, ID, Cost, Ammo) end end end ) ابي يشيل الشيء المحدد بذا الكود x:dgsGridListSetSelectedItem بس ما يجي
  15. addEventHandler ( "onPlayerCommand", root, function (cmd) if ( cmd == "الكلمة الي تبي تمنعها" ) then cancelEvent () outputChatBox("الكلمة لما حد يكتب تجيله", source, 255, 0, 0) end end ) جرب ذا ادري نفسه بس قلت اساعد
  16. بحاول اساعدك --اكيد لازم تحط ذي في كلينت triggerServerEvent("timerank",localPlayer,Group,Price) test = function ( Group,Price ) local acc = getAccountName(getPlayerAccount(source)); if isGuestAccount(getPlayerAccount(source)) then return outputChatBox("عليك التسجيل اولا",source,255,0,0,true); end if isObjectInACLGroup("user."..acc, aclGetGroup(tostring(Group))) then return outputChatBox("لديك الرتبة هذه بالفعل",source,0,255,255,true); end local sv = getElementData( source,'PlayTime' ) if not sv then sv = '0:0:0' end local data = split(sv,':') local hr = tonumber( data[1] ) if hr == nil or not tonumber(hr) then hr = 0 end if ( hr >= tonumber(Price)) then aclGroupAddObject (aclGetGroup( tostring(Group)),"user."..acc); outputChatBox("لقد تم شراء الرتبة بنجاح"..n,source,255,0,0,true); else outputChatBox("لا تمتلك الساعات الكافية",source,0,255,255,true); end end addEvent("timerank",true) addEventHandler("timerank",root,test) جرب و قولي
  17. لو انت مسوي اللوحة عبارة عن صورة و فيها ازرار اسم اللوحة = guiCreateStaticImage((screenW - 225) / 2, (screenH - 370) / 2, 225, 370, "اسم الصورة", false) guiSetVisible(اسم اللوحة,false) --- عدم اظهار الصورة اسم الزر = guiCreateButton(9, 21, 206, 28, "الاسم الي علي الزر", false, اسم اللوحة) guiSetAlpha(MainW, 1.00) -- للشفافية ياريت اكون فدتك
  18. يمكن ما يكون غلط اصلا و انت نسيت تضيف السكريبت لقروب ادمن عشان يمنع الحدث؟
  19. في مودات تسجيل دخول مرتبطة بالداتا بيس تسجلك الباسورد حق الحساب كل مرة يكتبه ينزل بالداتا بيس
×
×
  • Create New...