Pawn in Notepad++ .AMX files
#3

Quote:
Originally Posted by [uL]Pottus
Посмотреть сообщение
It's not in that..or if it is it's somewhere between 1-37 pages. That's why I asked.

Also, I do have another problem...

AllowAdminTeleport() : function is deprecated. Please see OnPlayerClickMap()

I know it's been asked a lot but I'm not doing that right either.

I deleted:

Код:
native AllowAdminTeleport(allow);
In a_samp.inc because that's the only thing that popped up when I searched in the main folder.
I also added:

Код:
public OnPlayerClickMap(playerid, Float:fX, Float:fY, Float:fZ) 
{
    if(IsPlayerAdmin(playerid)) 
    {
        SetPlayerPosFindZ(playerid, fX, fY, fZ);
        return 1;
    }
    return 1;
}
Added that to the gamemode .pwn file. I guess the main problem is I have no idea if that's where I'm supposed to remove/put these things, if I'm supposed to do anything else..I have no idea what it is..
Reply


Messages In This Thread
Pawn in Notepad++ .AMX files - by KDisas - 11.11.2013, 18:45
Re: Pawn in Notepad++ .AMX files - by Pottus - 11.11.2013, 18:54
Re: Pawn in Notepad++ .AMX files - by KDisas - 11.11.2013, 18:59

Forum Jump:


Users browsing this thread: 1 Guest(s)