21.12.2013, 20:01
pawn Код:
CMD:locate(playerid,params[])
{
new string[128], targetid;
if(sscanf(params, "u", targetid))
{
format(string,sizeof(string),"You location is %s", GetPlayerZone(playerid));
SendClientMessage(playerid,COLOR_WHITE,string);
return 1;
}
format(string,sizeof(string),"Targets location is %s", GetPlayerZone(targetid));
SendClientMessage(playerid,COLOR_WHITE,string);
return 1;
}