28.02.2009, 17:39
Forgot to mention i want it to be created for a whole team so its
If i make it
Wont that only set a wp for that specific player and not the whole team?
Код:
{
GetPlayerPos(playerid,posX,posY,posZ);
for(new i=0; i<MAX_PLAYERS; i++)
if i == GetTeamByName ("Lambo")
SetPlayerCheckpoint(i,posX,posY,posZ,5.0);
SendTeamMessage(Team1, COLOR_RED, "Lambo Team Gather!");
return 1;
}
Код:
{
GetPlayerPos(playerid,posX,posY,posZ);
for(new i=0; i<MAX_PLAYERS; i++)
if i == GetTeamByName ("Lambo")
SetPlayerCheckpoint(playerid,posX,posY,posZ,5.0);
SendTeamMessage(Team1, COLOR_RED, "Lambo Team Gather!");
return 1;
}

