IMPORTANT small question!
#1

hi,
i use teams on my server but in some rounds i have to "reset" the teams cause i dont want to have no teams there.
So i need to know how to resolve the teams.
I use SetPlayerTeam (gTeams) and i tried it like in the following but it doesnt work!
pawn Код:
SetPlayerTeam(playerid,-1);
I need help fast!
Reply
#2

From a_samp.inc:
pawn Код:
#define NO_TEAM                                 (255)
Enjoy.
Reply
#3

So i just have to put 255 into SetPlayerTeam instead of the -1?
Reply
#4

Either that or NO_TEAM
Reply
#5

ok thank you both soooo much!!
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)