18.07.2015, 22:13
My guess would be, even though you set gTeam[playerid] to a new value, it won't return that value because your function returns 1 all the time.
Try
instead of return 1;
Try
Код:
return gTeam[playerid];