SA-MP Forums Archive
OnFilterScriptInit - 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)
+---- Forum: Help Archive (https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: OnFilterScriptInit (/showthread.php?tid=155677)



OnFilterScriptInit - GforceNL - 19.06.2010

Is there a way to use playerid in OnFilterScriptInit ?

Because iam making a Filterscript, But i need to put my function under OnFilterScriptInit, But, i will get a errror:

Код:
(32) : error 017: undefined symbol "playerid"
Thats under OnFilterScriptInit, Is there a way to fix this ?


Greetingz
Gforce


Re: OnFilterScriptInit - deather - 19.06.2010

for(new playerid; playerid<MAX_PLAYERS; playerid++)
{
// your script here
}


Re: OnFilterScriptInit - GforceNL - 19.06.2010

Quote:
Originally Posted by |)ЂΩ†{−}ЂR™ – Dare To Die
for(new playerid; playerid<MAX_PLAYERS; playerid++)
{
// your script here
}
Thank you!