Simple player model. [Please check]
Hey guys,
I just randomly coded this plugin, and I just wanted to know if it has a good quality and would actually function properly? PHP Code:
PHP Code:
|
Re: Simple player model. [Please check]
Using a Trie with an hard-coded array with few entries is kind of silly.
Looping to get a random model is even more silly, random_num could be used directly in g_szPlayerModel[]. |
Re: Simple player model. [Please check]
So just this would work?
PHP Code:
|
Re: Simple player model. [Please check]
You will be out of bound with your random_num() for the max value.
|
Re: Simple player model. [Please check]
so sizeof - 1 would solve it?
|
Re: Simple player model. [Please check]
Would you mind to test things by yourself please? This is the scripting section, you are supposed to learn and test things.
|
Re: Simple player model. [Please check]
Quote:
|
| All times are GMT -4. The time now is 22:13. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.