16.02.2015, 20:42
pawn Code:
if (GetFactionType(i) == FACTION_POLICE)
{
SendFactionMessage(PlayerData[playerid][pFaction], COLOR_RADIO, "RADIO: ALL UNITS! %s is requesting immediate assistance, his location has been located on radar! at %s.", ReturnName(playerid, 0), GetLocation(fX, fY, fZ));
SetPlayerMarkerForPlayer(i, playerid, 0xC2A2DAAA); // it will set purple marker on player whoever called backup and only cops will be able to see it
SetTimerEx("RemoveMarker", 60000, true, "i",playerid); // We will set 1 min timer to auto remove marker
break;
}