SA-MP Forums Archive
Some Server Login Errors - 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: Some Server Login Errors (/showthread.php?tid=520335)



Some Server Login Errors - DarknessKnight - 18.06.2014

Server Login Error , Please help to fix

Код:
AllowPlayerToTeleport() is deprecated , please see OnPlayerClickMap()

( Console )



Re: Some Server Login Errors - Lynn - 18.06.2014

Remove AllowPlayerToTeleport() and use OnPlayerClickMap()


Re: Some Server Login Errors - DarknessKnight - 18.06.2014

In the script its like this

Quote:

AllowPlayerTeleport( playerid, 0 );

and when i do it , it says

Код:
function "OnPlayerClickMap" is not implemented



Re: Some Server Login Errors - Lynn - 18.06.2014

Quote:
Originally Posted by DarknessKnight
Посмотреть сообщение
In the script its like this



and when i do it , it says

Код:
function "OnPlayerClickMap" is not implemented
Remove:
pawn Код:
AllowPlayerTeleport( playerid, 0 );
And use:
pawn Код:
public OnPlayerClickMap(playerid, Float:fX, Float:fY, Float:fZ)
{
    return 1;
}



Re: Some Server Login Errors - TheKillZone - 18.06.2014

Try this :
forward OnPlayerLogin(playerid,password[])
did it help?


Re: Some Server Login Errors - DarknessKnight - 18.06.2014

Thanks


Re: Some Server Login Errors - TheKillZone - 18.06.2014

Did it work?