Jump to content

Ahmed Ly

Members
  • Posts

    1,304
  • Joined

  • Last visited

  • Days Won

    5

Everything posted by Ahmed Ly

  1. بالتوفيق لكم + وين موصفات الخادم
  2. --javascript new length var in class static this const instanceof ??^
  3. local text = guiGetText(edittag) outputChatBox("#FFFF00* [RentSysteam]: "..text.."", 255, 0, 0, true)
  4. addEventHandler("onClientGUIClick",root, function() if source == اسم الزر then local text1 = guiGetText(GUIEditor.edit[1]) local test2 = guiGetText(GUIEditor.edit[2]) local row = guiGridListAddRow (GUIEditor.gridlist[1]) guiGridListSetItemText (GUIEditor.gridlist[1],row,Column1,text1,false,false) guiGridListSetItemText (GUIEditor.gridlist[1],row,Column2,test2,false,false) triggerServerEvent('ADDTeam',localPlayer,text1,test2) end end )
  5. Ahmed Ly

    كود

    addCommandHandler("StartFreeze", function () for _,v in ipairs ( getElementsByType ( "player" ) ) do outputChatBox("--",root,0,255,0) setElementFrozen(v,true) end end ) addCommandHandler("StopFreeze", function () for _,v in ipairs ( getElementsByType ( "player" ) ) do outputChatBox("--",root,0,255,0) setElementFrozen(v,false) end end )
  6. function gui () if sourrce == btn then local Nameplayer = getPlayerName(localPlayer) outputChatBox ( "[C.Console]: Chat has been enabled by "..Nameplayer.."", root, 255, 255, 0, true ) end end addEventHandler("onClientGUIClick",root,gui)
  7. setTimer ( function mm () outputChatBox ( "text",root,0,0,0,true ) end, 30000, 0 )
  8. Ahmed Ly

    طلب

    جرب Door3 = createObject(980,2447,-1658.9000244141,15.10000038147,0,0,90) markerDoor3 = createMarker(2447.3000488281,-1659,12.300000190735,'cylinder',7,0,0,0,0) addEventHandler('onMarkerHit',markerDoor3, function ( hitPlayer ) if hitPlayer == localPlayer and getElementData( hitPlayer, 'gang' ) == 'ARMY' then moveObject(Door3,1000,2447,-1658.9000244141,20.5) outputChatBox("--",hitPlayer,0,255,0) else outputChatBox("--",hitPlayer,0,255,0) end end )
  9. Ahmed Ly

    سوال

    guiSetEnabled ( button, false ) function ranks () guiSetEnabled ( button, true ) end addEvent("aa",true) addEventHander("aa",root,ranks) ----- function mm ( thePlayer ) local accName = getAccountName ( getPlayerAccount ( thePlayer ) ) if isObjectInACLGroup ('user.'..accName, aclGetGroup ( "Console" ) ) then triggerClientEvent( 'aa', thePlayer ) end end
  10. Ahmed Ly

    سوال

    ---Server getAccountName getPlayerAccount isObjectInACLGroup aclGetGroup triggerClientEvent --Client guiSetEnabled
  11. function Playerall (pppp) guiGridListClear(GUIEditor.gridlist[1]) for _,v in ipairs ( getElementsByType ( "player" ) ) do local row = guiGridListAddRow(GUIEditor.gridlist[1]) guiGridListSetItemText(GUIEditor.gridlist[1],row,ss,.pppp(v),false,false)--- this erorr end end addEventHandler("gett",root,Playerall) addEvent("gett",true) addEventHandler ("onClientResourceStart",resourceRoot,Playerall) addEventHandler("onClientRoundFinish",root,Playerall) addEventHandler("onClientRoundStart",root,Playerall) function mm () local pppp = getPlayerIP(source) -- --- this erorr triggerClientEvent(source,"gett",pppp) end
×
×
  • Create New...