Why does this do this
#7

Because "Amount" is being initialized in that terrible loop...and since its never assigned a value its always 0;

If you want to keep track of houses/businesses you need to pack that stuff into an array and not create those arrays from within loops and commands and really anything else.

Initialize outside of all the callbacks, change values inside the script.
Reply


Messages In This Thread
Why does this do this - by Scripter12345 - 08.05.2012, 21:35
Re: Why does this do this - by warcodes_ - 08.05.2012, 21:40
Re: Why does this do this - by Vince - 08.05.2012, 21:42
Re: Why does this do this - by ReneG - 08.05.2012, 21:44
Re: Why does this do this - by warcodes_ - 08.05.2012, 21:48
Re: Why does this do this - by Scripter12345 - 08.05.2012, 22:02
Re: Why does this do this - by kaisersouse - 08.05.2012, 22:14
Re: Why does this do this - by Scripter12345 - 08.05.2012, 22:17
Re: Why does this do this - by ReneG - 08.05.2012, 22:20
Re: Why does this do this - by kaisersouse - 08.05.2012, 22:20

Forum Jump:


Users browsing this thread: 5 Guest(s)