26.12.2011, 19:29
this is my code but it wont work. You dont teleport when u click the player
pawn Код:
public OnPlayerClickPlayer(playerid, clickedplayerid, source)
{
new Float:X, Float:Y, Float:Z;
GetPlayerPos(clickedplayerid, X, Y, Z);
SetPlayerPos(playerid, X, Y+3, Z+3);
return 1;
}