SA-MP Forums Archive
Need to help - 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: Need to help (/showthread.php?tid=547814)



Need to help - davidbull - 25.11.2014


This is .pwn file:


Re : Need to help - Dutheil - 25.11.2014

https://sampwiki.blast.hk/wiki/Funcidx


Re: Re : Need to help - davidbull - 25.11.2014

Quote:
Originally Posted by Dutheil
Посмотреть сообщение
Thanks! But i'm not understand this function. Can u give me some example like function in the pic?


Re : Need to help - Dutheil - 25.11.2014

Example on the wiki...

pawn Код:
public OnFilterScriptInit()
{
    printf("ID of OnFilterScriptInit: %d", funcidx("OnFilterScriptInit"));
    return 1;
}



Re: Re : Need to help - davidbull - 25.11.2014

Quote:
Originally Posted by Dutheil
Посмотреть сообщение
Example on the wiki...

pawn Код:
public OnFilterScriptInit()
{
    printf("ID of OnFilterScriptInit: %d", funcidx("OnFilterScriptInit"));
    return 1;
}
Pls! I not understand what wrong in .pwn file?