howto deaktivate right click teleport
#1

hello how can I disable the right click teleport

until now I have below:
OnGameModeInit ();
{
AllowAdminTeleport (false);
}
OnPlayerConnect (playerid);
{
AllowPlayerTeleport (playerid, false);
}

that is displayed in the server log:

21:03:03] Blank Gamemode by your name here
[21:03:03] ----------------------------------

[21:03:03] Number of vehicle models: 0
[21:03:03] AllowPlayerTeleport (): function is deprecated. Please see OnPlayerClickMap ()
[21:03:11] AllowPlayerTeleport (): function is deprecated. Please see OnPlayerClickMap ()


But when I go to the map and put a marker I will immediately be teleported there

what can I do?

My Server Version is 0.3e
Reply


Messages In This Thread
howto deaktivate right click teleport - by janpplayer - 26.11.2012, 19:10
Re: howto deaktivate right click teleport - by Vince - 26.11.2012, 19:13
AW: howto deaktivate right click teleport - by janpplayer - 26.11.2012, 20:41
Re: howto deaktivate right click teleport - by kaisersouse - 26.11.2012, 20:48
Re: howto deaktivate right click teleport - by TheArcher - 26.11.2012, 20:48

Forum Jump:


Users browsing this thread: 1 Guest(s)