Jump to content

Chaos

Members
  • Posts

    300
  • Joined

  • Last visited

Everything posted by Chaos

  1. Chaos

    Client checks

    function behehehe() player = localPlayer kills = tonumber(getElementData(player,"Zombie kills")) if kills > 12 then outputChatBox("ok", 0,255,0) end if not kills > 12 then outputChatBox("lol" ,255,0,0) setElementFrozen ( player, true ) else outputChatBox("wtf", 255,0,0) end end addCommandHandler("omg", behehehe)
  2. Chaos

    Client checks

    Try that function behehehe() player = localPlayer local kills = tonumber(getElementData(player,"Zombie kills")) if kills > 12 then outputChatBox("ok", 0,255,0) end if not kills > 12 then outputChatBox("lol" ,255,0,0) setElementFrozen ( player, true ) else outputChatBox("wtf", 255,0,0) end end addCommandHandler("omg", behehehe)
  3. Chaos

    zombies spawn

    Damn I like you man
  4. Chaos

    zombies spawn

    I want to make it with createzombie but how can they respawn if I used event onZombieWasted?
  5. I set it to 90 max zombies but still same problem
  6. Chaos

    zombies spawn

    Should I use timer?
  7. Chaos

    zombies spawn

    Hello, I want to spawn like 50 zombies in specific area and if 30 zombies are death then it's will respawn the zombies again how can i do that?
  8. Chaos

    VIP System

    Use debug and I think at line 54 should be if getElementData(localPlayer, "VIP") then
  9. Chaos

    Car locking

    Server side local acc = getAccountName (getPlayerAccount (player)) And addEventHandler ("onVehicleStartEnter", vehicle, check) Should be addEventHandler ("onVehicleStartEnter", root, check)
  10. Chaos

    getElementData

    Try getTeamName instead of getPlayerTeam
  11. I need help guys please
  12. https://wiki.multitheftauto.com
  13. Mate I didn't made made any changes
  14. The script should work maybe you have problem
  15. function drift(thePlayer) setElementPosition(thePlayer, 1543.31995, -1360.21033, 329.46252) outputChatBox ( "Vous vous êtes teleporté !", thePlayer, 255, 255, 255 ) end addCommandHandler("para",drift)
  16. You missed (") on outputchatbox outputChatBox ( "Vous vous êtes teleporté !", thePlayer, 255, 255, 255 )
  17. I'm using this https://community.multitheftauto.com/in ... ils&id=347
  18. Hi, I'm using default zombie gamemode the problem is It takes 5 mins to respawn zombies but only 1-3 zombies how can i fix this?
  19. Chaos

    question

    Hello, Can I create button using dx functions because I want a custom theme
  20. Chaos

    Ping 0

    but i should replace the outputchatbox with kickPlayer function right?
×
×
  • Create New...