SA-MP Forums

Go Back   SA-MP Forums > SA-MP Scripting and Plugins > Scripting Help

Reply
 
Thread Tools Display Modes
Old 04/02/2013, 07:25 PM   #1
Phil_Cutcliffe
Huge Clucker
 
Phil_Cutcliffe's Avatar
 
Join Date: Dec 2011
Location: United Kingdom, London
Posts: 337
Reputation: 7
Default AllowPlayerTeleport() : function is deprecated.

[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?
Phil_Cutcliffe is offline   Reply With Quote
Old 04/02/2013, 07:35 PM   #2
KingHual
Banned
 
Join Date: Jun 2010
Location: Bulgaria
Posts: 2,297
Reputation: 1389
Default Re: AllowPlayerTeleport() : function is deprecated.

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?
KingHual is offline   Reply With Quote
Old 04/02/2013, 07:56 PM   #3
xX_Simon_Xx
Big Clucker
 
xX_Simon_Xx's Avatar
 
Join Date: Nov 2010
Location: Italy, Rome
Posts: 72
Reputation: 12
Default Re: AllowPlayerTeleport() : function is deprecated.

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()
__________________
I'm an italian Scripter know as 'Simone_Padrino'
xX_Simon_Xx is offline   Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
SprunkBuster is deprecated Woet Server Support 7 16/05/2012 10:40 PM
Mark deprecated natives with #pragma deprecated Zeex_ Scripting Help 5 27/03/2012 06:18 PM
SA-MP server crash - AllowPlayerTeleport() : function is deprecated. Please see OnPlayerClickMap() Ouch_Charlie Client Support 0 02/12/2011 12:12 PM
AllowPlayerTeleport Kinetic Help Archive 5 14/04/2011 01:46 PM
[0.3b R2] AllowPlayerTeleport bug after GMX Littl3j0hNy Bug Reports 0 24/08/2010 03:27 PM


All times are GMT. The time now is 05:54 AM.


Powered by vBulletin® Version 3.8.6
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.