[ HELP ] How to fix the code?
I have a little problem this plugin, it multiplies the damage pattern of a gun by the number of cvars, but not working, what's wrong? and I can improve the code?
Code:
|
Re: [ HELP ] How to fix the code?
In plugin_init you stored a cvar in an out of bounds index of 5.
|
Re: [ HELP ] How to fix the code?
cvar_gmode_increase_damage[5] => cvar_gmode_increase_damage[6]
|
Re: [ HELP ] How to fix the code?
Thank for the help, the other problem was g_hamczbots.
I've got another little problem, I made a plugin to give an extra item to a random bot, and modified so that no extra if the bot already have, only when all the bots already have the extra, the weapon is given to a player with id 0, how to fix? Code:
|
| All times are GMT -4. The time now is 18:04. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.