SA-MP Forums Archive
kill evryone - 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: kill evryone (/showthread.php?tid=217694)



kill evryone - bartje01 - 28.01.2011

Hey guys. I want that everyone dies here:
pawn Код:
for(new i = 0; i <500; i++)
    {
                    SetPlayerHealth(i,0);
                    return 1;
                }
Works for ID 0 only. please help


Re: kill evryone - Steven Paul - 28.01.2011

use this instead of that

Код:
for(new i=0; i<=MAX_PLAYERS; i++)



Re: kill evryone - bartje01 - 28.01.2011

Still only for ID 0 xP


Re: kill evryone - iMonk3y - 28.01.2011

Remove Return 1;