03.06.2009, 01:54
Код:
dcmd_m(playerid, params[])
{
new str[256]; new suspect = GetClosestPlayer(playerid); new mr[24]; new pname[24];
if(strlen(!params))
GetPlayerName(suspect, mr, 24);
GetPlayerName(playerid, pname, 24);
if(GetDistanceBetweenPlayers(playerid, suspect) > 20 && Faction[playerid] == 3 || 6 || 7 || 12 && GetPlayerVehicleID(playerid) == 596 || 599 || 490 || 427 || 523)
{
format(str, sizeof(str), "MEGAPHONE: POLICE! PULL OVER YOUR VEHICLE NOW!!");
ProxDetector(30.0, playerid, str, COLOR_WHITE,COLOR_WHITE,COLOR_WHITE,COLOR_WHITE,COLOR_WHITE);
}
return 1;
}

