17.07.2012, 09:46
in this case you have to loop it...for example
you can use it and replace for police, and Fire dept , only editing instead of this
this
and instead of
this
pawn Код:
new name[MAX_PLAYER_NAME], string[48];
GetPlayerName(playerid, name, sizeof(name));
format(string, sizeof(string), " %s Called a medic.Closest unit respond.", name );
for(new i = 0; i ! = MAX_PLAYERS;i ++)
{
if(GetPlayerSkin(i) == 275) return SendClientMessage(i,-1,string);
}
Код:
format(string, sizeof(string), " %s Called a medic.Closest unit respond.", name );
Код:
format(string, sizeof(string), " Your message,",name);
Код:
if(GetPlayerSkin(i) == 275) return SendClientMessage(i,-1,string);
Код:
if(GetPlayerSkin(i) == yourskin) return SendClientMessage(i,-1,string);