PDA

View Full Version : AllowPlayerTeleport() : function is deprecated.


Phil_Cutcliffe
04/02/2013, 06:25 PM
[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?

KingHual
04/02/2013, 06:35 PM
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?

xX_Simon_Xx
04/02/2013, 06:56 PM
Add this to your gamemode for use AllowPlayerTeleport()
http://forum.sa-mp.com/showthread.php?t=292813
or simply remove it from your gamemode and use the new callback OnPlayerClickMap()