27.01.2011, 08:24
pawn Код:
public OnPlayerClickPlayer(playerid, clickedplayerid, source)
{
new Float: X,Float:Y, Float:Z, string[70];
GetPlayerPos(clickedplayerid, X,Y,Z);
SetPlayerPos(playerid, X,Y,Z);
format(string, sizeof(string), "You have teleported to ID: %i", clickedplayerid);
return 1;
}