Quote:
Originally Posted by Spunky
PHP Code:
new g_client_connected[32+1]
Why not just:
PHP Code:
new g_client_connected[33]
?
The 32+1 is completely unnecessary. You do that all throughout the plugin.
Also, this plugin will likely not work for all modifications. cs_user_set_money is a function limited to CStrike as far as I know.
|
Yes, this plugin for Counter-Strike 1.6 mod only, I'v not tested it for another. (:
I write 32 + 1 to prevent mistake of out boundary error. I think it is a good habit to define a array like that. (: