Player Click Map Teleport - 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: Player Click Map Teleport (
/showthread.php?tid=364831)
Player Click Map Teleport -
Yiddus - 01.08.2012
Hey guys,
I am having a small issue that with the gamemode I have been using and editing, that people can right click the map or place a marker on the map, and it will teleport them to that location. I have looked through all my includes, through the filterscripts and the gamemode itself to find anything like "AllowAdminTeleport", "AllowPlayerTeleport" and "OnPlayerClickMap" stuff and I can't seem to find anything.
What is the best way to disable this annoying feature?
Thanks!
Re: Player Click Map Teleport -
Ballu Miaa - 01.08.2012
1. Upgrade to 0.3e and compile your script again , see if it is there or not.
Or
2. Add a line under OnGameModeInIt
pawn Код:
AllowAdminTeleport(false);
Re: Player Click Map Teleport -
Yiddus - 01.08.2012
Quote:
Originally Posted by Ballu Miaa
1. Upgrade to 0.3e and compile your script again , see if it is there or not.
Or
2. Add a line under OnGameModeInIt
pawn Код:
AllowAdminTeleport(false);
|
thanks for the help, but this didn't solve it. I just found another solution though!
Respuesta: Player Click Map Teleport -
aleixrodri98 - 19.12.2012
How did you solve that?
Re: Player Click Map Teleport -
RedCrossER - 19.12.2012
public OnPlayerClickMap(playerid, Float:fX, Float:fY, Float:fZ)
{
//Remove This Function
return 1;
}