SA-MP Forums Archive
Team Pickups - 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)
+---- Forum: Help Archive (https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: Team Pickups (/showthread.php?tid=90864)



Team Pickups - sidhu123 - 10.08.2009

Hey! I've started working on a new Gamemode for my server.

I'm wondering, is there a way I can make pickups show for only 1 team and not other teams?


Re: Team Pickups - CJ101 - 10.08.2009

Under OnPlayerPickup, return 1 if not the team.. something like this.


Quote:

if(PlayerInfo[playerid][Team] != TEAMID return 1;




Re: Team Pickups - whooper - 10.08.2009

Hes talking about not showing it that will still show it