R33 to R40 (some errors)
#10

Quote:
Originally Posted by Kwarde
View Post
Are you sure PrintVehicleStats() is actually called?
Also, now every loop calls cache_num_rows(). I personally prefer to only use cache_num_rows() if you've just to check if there are rows. If I want to use the amount of rows (eg. for a loop) I'd go with cache_get_row_count(), since cache_num_rows() does the same.
Just something about minor optimalizations in runtime (which you would never see back in runtime tho -just hate the fact it has to do more work for the same outcome).
Anyway, make sure PrintVehicleStats() is called and that there are actually results for the used query.
I sent you in PM.
Reply


Messages In This Thread
R33 to R40 (some errors) - by Pitstop - 05.06.2020, 16:33
Re: R33 to R40 (some errors) - by zampa - 05.06.2020, 16:38
Re: R33 to R40 (some errors) - by Cell_ - 05.06.2020, 16:39
Re: R33 to R40 (some errors) - by ShadowMortar - 05.06.2020, 18:31
Re: R33 to R40 (some errors) - by Pitstop - 06.06.2020, 01:14
Re: R33 to R40 (some errors) - by SharpenBlade - 06.06.2020, 05:48
Re: R33 to R40 (some errors) - by ShadowMortar - 06.06.2020, 06:41
Re: R33 to R40 (some errors) - by Pitstop - 06.06.2020, 15:51
Re: R33 to R40 (some errors) - by Kwarde - 06.06.2020, 15:58
Re: R33 to R40 (some errors) - by Pitstop - 06.06.2020, 16:07

Forum Jump:


Users browsing this thread: 1 Guest(s)