SA-MP Forums Archive
Pawn in Notepad++ .AMX files - 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: Pawn in Notepad++ .AMX files (/showthread.php?tid=475196)



Pawn in Notepad++ .AMX files - KDisas - 11.11.2013

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


Re: Pawn in Notepad++ .AMX files - Pottus - 11.11.2013

https://sampforum.blast.hk/showthread.php?tid=174046


Re: Pawn in Notepad++ .AMX files - KDisas - 11.11.2013

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..