Jump to content

ZL|LuCaS

Members
  • Posts

    293
  • Joined

  • Last visited

  • Days Won

    2

Everything posted by ZL|LuCaS

  1. ZL|LuCaS

    dxDrawText

    function select() addEventHandler("onClientRender", getLocalPlayer(), draw) showCursor(true) setElementFrozen(localPlayer, true) end addEventHandler("onClientResourceStart", getLocalPlayer(), select)
  2. as Mr.Pres [T] ege, shown above, is correct.
  3. @ Gallardo always been a fan of your v5 to v6 now I am hooked on it good
  4. he is the best? I do not know, but either way I will not say I'm the best because I'm learning how everyone (everyone) here.
  5. ZL|LuCaS

    SOLVED!

    function remove() for t,teams in pairs(MainTeam) do local team = getTeamFromName(teams) if team then if countPlayersInTeam ( team )==0 then destroyElement(team) end end end end function createTeamsOnStart () local MainTeam = createTeam ( "The Professionals", 250, 50,0) end addEventHandler("onResourceStart", resourceRoot, createTeamsOnStart) function login() setTimer(remove,1500,1) end addEventHandler("onPlayerLogin",getRootElement(),login) function logout() setTimer(remove,1500,1) end addEventHandler("onPlayerLogout",getRootElement(),logout) you have to trigger function remove ()
  6. to use client side needs to use getLocalPlayer ()
  7. Yes that worked, thx! I only tested with source.. serverside function skin(player) setElementModel( player, 286 ) end addCommandHandler ( "girlskin", skin )
  8. function skin(player) setElementModel( player, 286 ) end addCommandHandler ( "girlskin", skin )
  9. no, the script is this --gui Window2 = guiCreateWindow(20,20,200,200,"Window",false) guiSetVisible(Window2, false) --script bindKey("F2", "down", function () guiSetVisible(Window2, true) showCursor(true) end) not need a new function function test () if Window2 then return end Window2 = guiCreateWindow(20,20,200,200,"Window",false) end bindKey("F2","down",test)
  10. check up on your resources folder has no script with same name
  11. you are creating again. function SpawnDodo () triggerServerEvent ( "spawnDodo", localPlayer ) guiSetVisible(Window2, false) showCursor(false) destroyElement ( DestinationBlip ) destroyElement ( DestinationMarker ) PassengerMarker = createMarker ( 1514.71289, 1205.07666, 10, "cylinder", 2, 9, 233, 213, 105 ) PasengerMarker = createMarker (1574.69788, 1503.02808, 10.8363, "checkpoint",5,9,233,213,105 ) end addEventHandler ( 'onClientGUIClick', Button2, SpawnDodo, false ) function SpawnDodo () guiSetVisible(Window2, false) showCursor(false) destroyElement ( DestinationBlip ) destroyElement ( DestinationMarker ) end addEventHandler ( 'onClientGUIClick', Button2, SpawnDodo, false ) ERROR? post your full code
  12. this is wrong showCursor(false) then
  13. I just can not understand your English.
  14. ZL|LuCaS

    SOLVED!

    the function remove () is not called?
  15. wtf? he does not want to move anything
  16. you can use createMarker onClientMarkerHit onClientMarkerLeave
  17. can not contain two scripts with the same name
×
×
  • Create New...