Player Click Map Teleport
#1

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!
Reply
#2

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);
Reply
#3

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!
Reply
#4

How did you solve that?
Reply
#5

public OnPlayerClickMap(playerid, Float:fX, Float:fY, Float:fZ)
{

//Remove This Function
return 1;
}
Reply


Forum Jump:


Users browsing this thread: 3 Guest(s)