get_user_weapons question on 3rd param
So get_user_weapons has a 3rd param, at first I thought this was just so that we would know how many weapons the user has...
I'm curious as to why it adds this number to the initial array position? Code:
Notice the Code:
Why is it +cpNum? Just spent like 40 minutes debugging b/c I thought I f'ed something up then I noticed this... Was just curious why this decision was made? I can't see the point :( Josh |
Most likely this was done in the case of a mod with more than 32 weapons. That way you could keep requesting more or something.
Other than that, I have no idea. OLO is a strange one. |
| All times are GMT -4. The time now is 05:09. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.