onplayerclickmap is not working, it just teleport player to 0,0,0 - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (
https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (
https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: onplayerclickmap is not working, it just teleport player to 0,0,0 (
/showthread.php?tid=471726)
onplayerclickmap is not working, it just teleport player to 0,0,0 -
Chrisli520 - 25.10.2013
Код:
public OnPlayerClickMap(playerid, Float:fX, Float:fY, Float:fZ)
{
SetPlayerPosFindZ(playerid, fX, fY, fZ);
return 1;
}
i use this, when i click the map, it tele me to the center of SA. How to solve?
Respuesta: onplayerclickmap is not working, it just teleport player to 0,0,0 -
[CG]Milito - 25.10.2013
Why don't you just try using
SetPlayerPos(playerid, fX, fY, fZ); ?