Quote:
|
Originally Posted by Don Correlli
pawn Код:
/* using the sa:mp native GetPlayerTeam function. */ if(GetPlayerTeam(playerid) == TEAM_ID) SetPlayerCheckpoint(playerid, x_pos, y_pos, z_pos, size);
pawn Код:
/* using the player array. */ if(gTeam[playerid] == TEAM_ID) SetPlayerCheckpoint(playerid, x_pos, y_pos, z_pos, size);
pawn Код:
/* using the sa:mp PVar function (remember that this will ONLY work if you used the SetPVarInt before). */ if(GetPVarInt(playerid, "pTeam") == TEAM_ID) SetPlayerCheckpoint(playerid, x_pos, y_pos, z_pos, size);
/* setting the team. */ SetPVarInt(playerid, "pTeam", TEAM_ID);
|
Thanks your server need a beta tester

, I can't wait it looks like so much fun!