03.11.2012, 13:24
PHP Code:
public OnPlayerClickMap(playerid, Float:fX, Float:fY, Float:fZ)
{
if(IsPlayerAdmin(playerid))
{
new string[124]
SetPlayerPos(playerid,fX,fY,fZ);
format(string,sizeof(string,"Teleported to %f %f %f",fX,fY,fZ);
SendClientMessage(playerid,-1,string);
}
return 1;
}