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



for() - legodude - 31.07.2010

for(secsd;secsd>60;minsd++)

this is warning:
warning 215: expression has no effect

plz help me


Re: for() - legodude - 31.07.2010

fixed!!

for(tick;tick>1000;secsd++)
should be
for(;tick>1000;secsd++)


Re: for() - Zimon95 - 31.07.2010

It depends if you have already declared the variable tick.


Re: for() - Killer#Mummy - 31.07.2010

maybe you must declare as new variable?

for(new secsd;secsd>60;minsd++)