SA-MP Forums Archive
All people can kill each others - 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: All people can kill each others (/showthread.php?tid=497286)



All people can kill each others - AhmedMohamed - 26.02.2014

hello all i made cod game mode and i made event system for it :
when event available and the player type /join he go in and switch his team to the event team,
my problem is all players can't kill each others on the event.
what can i do??

sorry for my bad english


Re: All people can kill each others - Avi Raj - 26.02.2014

when player joins the event, set their team to one.
and then allow that team to kill each other.
Simple.


Re: All people can kill each others - AhmedMohamed - 26.02.2014

how to allow that team to kill each others??


Re: All people can kill each others - LocMax - 26.02.2014

SetPlayerTeam(playerid, NO_TEAM);