Command Doesn't Work At All
#4

pawn Код:
// global:
new HousesLoaded;

// In OnHousesLoad public function:
HousesLoaded = cache_get_row_count();
for(new x; x != HousesLoaded; ++x)

// In the above command:
for(new a; a != HousesLoaded; ++a)
and remove this check from the command:
pawn Код:
if (a >= sizeof HouseInfo) break;
it only needs in the loading houses part in case there are more rows than the amount the variable can hold.
Reply


Messages In This Thread
Command Doesn't Work At All - by nezo2001 - 14.06.2015, 15:55
Re: Command Doesn't Work At All - by Konstantinos - 14.06.2015, 15:58
Re: Command Doesn't Work At All - by nezo2001 - 14.06.2015, 16:00
Re: Command Doesn't Work At All - by Konstantinos - 14.06.2015, 16:07
Re: Command Doesn't Work At All - by nezo2001 - 14.06.2015, 16:09
Re: Command Doesn't Work At All - by nezo2001 - 16.06.2015, 09:47
Re: Command Doesn't Work At All - by Konstantinos - 16.06.2015, 09:53
Re: Command Doesn't Work At All - by nezo2001 - 16.06.2015, 10:02
Re: Command Doesn't Work At All - by Konstantinos - 16.06.2015, 10:19
Re: Command Doesn't Work At All - by nezo2001 - 16.06.2015, 10:35

Forum Jump:


Users browsing this thread: 1 Guest(s)