31.01.2012, 21:55
(
Последний раз редактировалось Unte99; 01.02.2012 в 10:46.
)
Or you don't know how to use GetPlayerName, or there is a function missing.
pawn Код:
if(GetDistanceBetweenPlayers(playerid,ID) > 4)
{
new PlayerName[MAX_PLAYER_NAME];
GetPlayerName(ID, PlayerName, sizeof(PlayerName));
format(string,sizeof(string),"%s (%d) is too far away. You cannot reach him to arrest him.",PlayerName,ID);
SendClientMessage(playerid,COLOR_ERROR,string);
return 1;
}