help me please. - 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: help me please. (
/showthread.php?tid=394893)
How do I stop players teleporting via map? -
Goldino - 24.11.2012
Hey guys, how do I stop people teleporting via the map.
For example:
-Player goes on Map
-Right clicks somewhere
-Server teleports them to the place where they placed the red dot...
But I want do disable people doing that, I don't want people on my server teleporting everywhere.
What is the code to stop it and where do I place it?
Please help!!! thx
Re: help me please. -
ItalianKiller1568 - 24.11.2012
Search for this on your gamemode :
pawn Код:
public OnPlayerClickMap(playerid, Float:fX, Float:fY, Float:fZ)
{
SetPlayerPosFindZ(playerid, fX, fY, fZ);
return 1;
}
and then remove it .
Re: help me please. -
Goldino - 24.11.2012
It says not found
Re: help me please. -
ItalianKiller1568 - 24.11.2012
Try searching only the
If you find it , then give me the code
Re: help me please. -
Goldino - 24.11.2012
Still not found
Re: help me please. -
RenSoprano - 24.11.2012
Show us your OnPlayerClickMap code
Re: help me please. -
Goldino - 24.11.2012
I dont have a OnPlayerClickMap code in my scriot