Pawn in Notepad++ .AMX files
#1

How do I make .amx files in Notepad++? Not finding an answer by searching..here or ******..or I'm doing it wrong.
Reply
#2

https://sampforum.blast.hk/showthread.php?tid=174046
Reply
#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


Forum Jump:


Users browsing this thread: 2 Guest(s)