Some Server Login Errors
#1

Server Login Error , Please help to fix

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

( Console )
Reply
#2

Remove AllowPlayerToTeleport() and use OnPlayerClickMap()
Reply
#3

In the script its like this

Quote:

AllowPlayerTeleport( playerid, 0 );

and when i do it , it says

Код:
function "OnPlayerClickMap" is not implemented
Reply
#4

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;
}
Reply
#5

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

Thanks
Reply
#7

Did it work?
Reply


Forum Jump:


Users browsing this thread: 5 Guest(s)