21.12.2013, 21:50
pawn Код:
CMD:locate(playerid,params[])
{
new string[128], targetid;
if(sscanf(params, "u", targetid)) return SendClientMessage(playerid, COLOR_WHITE, "[playerid]");
if(!IsPlayerConnected(targetid)) return SendClientMessage(playerid, COLOR_WHITE,"Player is not connected");
format(string,sizeof(string),"Targets location is %s", GetPlayerZone(targetid));
SendClientMessage(playerid,COLOR_WHITE,string);
return 1;
}