SA-MP Forums Archive
Chainsaw bug - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: Chainsaw bug (/showthread.php?tid=557535)



Chainsaw bug - Penguin1997 - 14.01.2015

....


Re: Chainsaw bug - Threshold - 14.01.2015

Do you use SetPlayerTeam at all?


Re: Chainsaw bug - Penguin1997 - 14.01.2015

Quote:
Originally Posted by Threshold
Посмотреть сообщение
Do you use SetPlayerTeam at all?
No the server randomly pick up zombies / humans.
or if you mean setplayerteam in script then yes. There are two teams (TEAM_HUMAN AND TEAM_ZOMBIE) .


Re: Chainsaw bug - Threshold - 14.01.2015

If you use SetPlayerTeam, then players from one cannot attack other players within the same team. That's probably your issue...


Re: Chainsaw bug - Penguin1997 - 14.01.2015

Quote:
Originally Posted by Threshold
Посмотреть сообщение
If you use SetPlayerTeam, then players from one cannot attack other players within the same team. That's probably your issue...
No, it actually work when the map is made on sanandreas built-in objects (on the map), but if we make our own map far off ; the chainsaw doesnt work but guns do..