/backup, wont show red circel
#4

Quote:

if(strcmp(cmd, "/backup", true) == 0)
{
new string[128];
new player[MAX_PLAYER_NAME];
if(gTeam[playerid] == TEAM_PD)
if(GetPlayerRank(playerid) >=2)
{
new Float:X,Float:Y,Float:Z;
GetPlayerName(playerid, player, sizeof(player));
GetPlayerPos(playerid, X,Y,Z);
SendClientMessage(playerid, TEAM_PD_COLOR, "You called for backup, continue pursuit");
format(string, sizeof(string), "Officer %s called for backup, nearby units report in, for the pursuit.", player);
Send911Message(COLOR_PDRADIO ,string);
for(new i = 0; i < MAX_PLAYERS; i ++)
{
if(IsPlayerConnected(i))
{
if(gTeam[i] == TEAM_PD)
{
SetPlayerCheckpoint(i, X, Y, Z, 10.0);
return 1;
}
}
}

}
}

Reply


Messages In This Thread
/backup, wont show red circel - by BraveBarry - 20.05.2009, 22:29
Re: /backup, wont show red circel - by Adrik - 25.07.2009, 00:23
Re: /backup, wont show red circel - by Luciano - 25.07.2009, 00:24
Re: /backup, wont show red circel - by Josh! - 25.09.2009, 11:01
Re: /backup, wont show red circel - by BMUK - 25.09.2009, 11:09

Forum Jump:


Users browsing this thread: 1 Guest(s)