AllowPlayerTeleport() : function is deprecated. - 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: AllowPlayerTeleport() : function is deprecated. (
/showthread.php?tid=413270)
AllowPlayerTeleport() : function is deprecated. -
Phil_Cutcliffe - 04.02.2013
[join] Tyrone has joined the server (1:109.144.193.164)
AllowPlayerTeleport() : function is deprecated. Please see OnPlayerClickMap()
As the topic says.. This is what happens when some one joins my server..
Not too sure what the heck has happened here lol
-------------
What code do you guys need to see in order to help me fix this?
Re: AllowPlayerTeleport() : function is deprecated. -
KingHual - 04.02.2013
Quote:
Originally Posted by Wikipedia
In the process of authoring computer software, its standards or documentation, or other technical standards, deprecation is a status applied to features, characteristics, or practices to indicate that they should be avoided, typically because they have been superseded.
|
Clear enough?
Re: AllowPlayerTeleport() : function is deprecated. -
xX_Simon_Xx - 04.02.2013
Add this to your gamemode for use AllowPlayerTeleport()
https://sampforum.blast.hk/showthread.php?tid=292813
or simply remove it from your gamemode and use the new callback OnPlayerClickMap()