How to add arguments to format?
#8

Quote:
Originally Posted by Twisted_Insane
Посмотреть сообщение
Did you copy this from somewhere? This is your code:

pawn Код:
for(new i; i < [B]5[/B]; i++)
It tells the script, that it should call the function AS long, as i is smaller then 5 times. That means:
0, 1, 2, 3, 4 = 5 TIMES

If you want it for one time, it should be like this:

pawn Код:
for(new i; i < 1; i++)
Err, you know if your calling a function once, there is no need for a loop?
Reply


Messages In This Thread
How to add arguments to format? - by TheGamer! - 11.03.2012, 11:26
Re: How to add arguments to format? - by MP2 - 11.03.2012, 11:32
Re: How to add arguments to format? - by TheGamer! - 11.03.2012, 11:36
Re: How to add arguments to format? - by Twisted_Insane - 11.03.2012, 11:38
Re: How to add arguments to format? - by TheGamer! - 11.03.2012, 11:39
Re: How to add arguments to format? - by MP2 - 11.03.2012, 13:10
Re: How to add arguments to format? - by TheGamer! - 11.03.2012, 13:29
Re: How to add arguments to format? - by Gh05t_ - 11.03.2012, 13:31
AW: How to add arguments to format? - by Nero_3D - 11.03.2012, 15:09

Forum Jump:


Users browsing this thread: 1 Guest(s)