Cikle. - 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: Cikle. (
/showthread.php?tid=444140)
Cikle. -
audriuxxx - 15.06.2013
Can i do this?
Код:
new iveh;
new iplr;
for(iveh = 0; iveh < MAX_VEHICLES; iveh ++)
{
if( IsValidVehicle(iveh))
{
foreach(iplr : Player)
{
}
}
}
My MAX_VEHICLES is 950, can server crash from it? or it's normal cikles?
Re: Cikle. -
SuperViper - 15.06.2013
Why would you EVER need to do something like this?
Re: Cikle. -
audriuxxx - 15.06.2013
Because, if i want for ex: respawn all cars, exepct that cars, who have drivers no respawn.
Re: Cikle. -
audriuxxx - 16.06.2013
Any answers?