Jump to content

dakata783

Members
  • Posts

    4
  • Joined

  • Last visited

dakata783's Achievements

Vic

Vic (3/54)

0

Reputation

  1. If you need some help or have question I can help you, but i won't write the script. Skype: jordan.velikov.3
  2. Today i downloaded Zday Script from https://community.multitheftauto.com/index.php?p=resources&s=details&id=2405, but I've got one problem. When I start the script , the zombies are not spawning. Everything else is OK. Settings: MaximuZombies:50 What i'm supposed to do?
  3. function createMedicTeam () ArmyTeam = createTeam ("US army", 0, 0, 255) end addEventHandler ("onResourceStart", resourceRoot, createMedicTeam) function spawnThePlayer( ) local getteam = getPlayerTeam ( source ) local teamname = getTeamName ( getteam ) if teamname == ArmyTeam then spawnPlayer ( source, 219.24492, 1861.24292, 13.14696 , 0) outputChatBox("Don't die anymore man! There is no place for mistakes!",source,0,0,255) setElementModel(source,285) else spawnPlayer ( source, -330.77100, 1532.63647, 75.35938 , 0) setElementModel(source,287) outputChatBox("Oh cmon! Dead again? Go! Go! Go!",source,255,0,0) end end addEventHandler("onPlayerWasted", getRootElement(), spawnThePlayer() ) I tried this and it is not working too.
  4. I have 2 teams -US army -Enemies and i want if someone from the US Army die to respawn him at ( 219.24492, 1861.24292, 13.14696 ) and if someone from the Enemies die to respawn him at ( source, -330.77100, 1532.63647, 75.35938 ) i tried to make this but i get Error: Stack Overflow If you can help me, i'll be grateful! function spawnPlayer( ) local playerTeam = getTeamName( source ) if playerTeam == ArmyTeam then spawnPlayer ( source, 219.24492, 1861.24292, 13.14696 , 0) outputChatBox("Don't die anymore man! There is no place for mistakes!",source,0,0,255) else spawnPlayer ( source, -330.77100, 1532.63647, 75.35938 , 0) outputChatBox("Oh cmon! Dead again? Go! Go! Go!",source,255,0,0) end end addEventHandler("onPlayerWasted", getRootElement(), spawnPlayer )
×
×
  • Create New...