Jump to content

#Major .

Members
  • Posts

    861
  • Joined

  • Last visited

  • Days Won

    8

Everything posted by #Major .

  1. function putPlayers() guiGridListClear(GUIEditor.gridlist[1]) for i,player in ipairs(getElementsByType("player")) do local account = getPlayerAccount ( player ) for _, group in ipairs ( { "Admin", "Console", "", "" } ) do if isObjectInACLGroup ( "user.".. getAccountName ( account ), aclGetGroup ( group ) ) then local row = guiGridListAddRow(Grid) guiGridListSetItemText(Grid,row,1,getPlayerName(player),false,false) end end addEventHandler ( "onClientResourceStart", getRootElement(), putPlayers )
  2. --- # Client addEventHandler("onClientGUIClick",root, function () if source == GUIEditor.checkbox[1] then if (guiCheckBoxGetSelected(GUIEditor.checkbox[1]) == true) then ST = "Start" triggerServerEvent( 'vehColorRandom', localPlayer,ST ) else ST = "Stop" triggerServerEvent( 'vehColorRandom', localPlayer,ST ) end end end ) --- # Server addEvent( 'vehColorRandom', true ) addEventHandler( 'vehColorRandom', root, function( uPlayer,ST ) if ( ST == "Start" ) then if isPedInVehicle( uPlayer ) then local uVehicle = getPedOccupiedVehicle( uPlayer ) if uVehicle then mathColor = setTimer(function( ) local r, g, b = math.random( 255 ), math.random( 255 ), math.random( 255 ) setVehicleColor( uVehicle, r, g, b ) end,200,0 ) end end else if mathColor then killTimer(mathColor) end end end )
  3. موجودة اكواد الوحة؟؟
  4. --- # Client addEventHandler("onClientGUIClick",root, function () if source == GUIEditor.checkbox[1] then if (guiCheckBoxGetSelected(GUIEditor.checkbox[1]) == true) then UnlimtedColorsTimer = setTimer(function() triggerServerEvent( 'vehColorRandom', localPlayer ) end, 200, 0) else killTimer(UnlimtedColorsTimer) end end end ) --- # Server addEvent( 'vehColorRandom', true ) addEventHandler( 'vehColorRandom', root, function( uPlayer ) if isPedInVehicle( uPlayer ) then local uVehicle = getPedOccupiedVehicle( uPlayer ) if uVehicle then local r, g, b = math.random( 255 ), math.random( 255 ), math.random( 255 ) setVehicleColor( uVehicle, r, g, b ) end end end )
  5. فقط لضمان حقوق الرجال حبيت استفسر منه
  6. عجزت افهم الكود من التخبيص عالعموم جرب NBox = guiCreateEdit(199, 79, 100, 32, "", false, iPrestege.window[1] ); addEventHandler("onClientGUIComboBoxAccepted",root, function () if source == NBox then -- هنا المفروض يكون اسم الكومبو بوكس local No = guiGetText(NBox) triggerServerEvent("Markun",localplayer,No) end end ) value = 0 addEvent("Markun",true) addEventHandler("Markun",root, function (No) value = value + 1 if value >= tonumber ( No ) then destroyElement (aMarker) end end )
  7. لازم نعرف طريقة اكواد المحل واكواد البنك
  8. شغلك جبار ي هيمو بالتوفيق وشكرًا ع الاهداء موفق
  9. if ( guiGetText(EditBox) >= 0 ) then
  10. guiGetText getPlayerName guiGridListAddRow guiGridListSetItemText ياليت تورينا محاولاتك بالاول بعدين نساعدك
  11. هذا ينفع للي يبيع مودات ومايبي ينٌصب عليه
  12. كنت مسويها عبر الip والبروت الخاص بالسيرفر لكن م رح تنفعك لو م ضاف المود للاسل او مقفل خاصيه ال fetchremote
  13. اذا كان nn اسم الحساب استخدم addEvent("DeleteAccount", true) addEventHandler("DeleteAccount", root, function( nn ) local sourceAccount = getAccount ( nn ) removeAccount ( sourceAccount ) end )
×
×
  • Create New...