SA-MP Forums Archive
How to Loop! - 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: How to Loop! (/showthread.php?tid=522293)



How to Loop! - danish007 - 26.06.2014

How to Loop For Playerid?

i want to use playerid ongamemodeexit


Re: How to Loop! - babecka - 26.06.2014

You can't since OnGameModeExit has no playerid param.


Re: How to Loop! - danish007 - 26.06.2014

any way to use playerid ongamemodeexit with loops?


Re: How to Loop! - babecka - 26.06.2014

No, read my post above.


Re: How to Loop! - Battlezone - 26.06.2014

You can do this
pawn Код:
for(new i = 0; i < MAX_PLAYERS; i++)
    {
    }
but i don't think it will work..