SA-MP Forums Archive
Marker 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)
+---- Forum: Help Archive (https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: Marker Teleport (/showthread.php?tid=68555)



Marker Teleport - russiany - 11.03.2009

Why on my server , when i press ESCAPE , and i Choose the MAP , and i put the RED MARKER somewhere , he teleport me there ?


Re: Marker Teleport - CracK - 11.03.2009

Are you using YSF and a windows server?
If yes, then it's a bug with YSF...
If no, then search(press ctrl+F) your working script and filterscripts for AllowPlayerTeleport or AllowAdminTeleport


Re: Marker Teleport - russiany - 11.03.2009

i use YSF , and this on gm: AllowAdminTeleport(1);


Re: Marker Teleport - CracK - 11.03.2009

If you don't want normal players(not admins) teleporting where they want, just don't use YSF until bugfix will be released.
If you don't want admins to teleport too, change AllowAdminTeleport(1); to AllowAdminTeleport(0);

З.Ы. удачи)


Re: Marker Teleport - russiany - 11.03.2009

k i've deleted YSF , but now i've got this under ongamemodeinit : AllowInteriorWeapons(1);

And if i'm login with RCON admin , and i want to teleport , now don't works why?


Re: Marker Teleport - CracK - 11.03.2009

Quote:
Originally Posted by russiany
...
And if i'm login with RCON admin , and i want to teleport , now don't works why?
AllowAdminTeleport(1);


Re: Marker Teleport - russiany - 11.03.2009

pawn Код:
//Under OnGameModeInit

AllowAdminTeleport(true);
and don't works


Re: Marker Teleport - MenaceX^ - 11.03.2009

Bah. I think these two functions are screwed up. I don't use AllowAdminTeleport.
I have a loop for AllowPlayerTeleport since AllowAdminTeleport doesn't work, but it seems like AllowPlayerTeleport doesn't work aswell.


Re: Marker Teleport - Mikep - 11.03.2009

Put this in:

pawn Код:
AllowAdminTeleport(1);
AllowPlayerTeleport( playerid,0);



Re: Marker Teleport - russiany - 11.03.2009

under OnGameModeInit ?