20.06.2010, 12:22
Use PVar.
In your GM
Now when you try to get the team of the player in your FS, you'll do :
There you have the team id.
In your GM
Код:
SetPvarInt(playerid,"Team",Teamid);
Код:
new teamid[MAX_PLAYERS]; teamid[playerid]=GetPVarInt(playerid,"Team");