I'm wondering why I'm getting this error in my console:
PHP Code:
L 05/17/2016 - 13:32:24: [CSTRIKE] Non-player entity 1 out of range
L 05/17/2016 - 13:32:24: [AMXX] Run time error 10 (plugin "ap-vp70.amxx") (native "cs_get_weapon_burst") - debug not enabled!
L 05/17/2016 - 13:32:24: [AMXX] To enable debug mode, add "debug" after the plugin name in plugins.ini (without quote
Here's a snippet of the part involved. I'm sure this is it because I only used "cs_get_weapon_burst" once in this plug-in:
PHP Code:
new Float:rof
if(Get_BitVar(g_Had_Weapon,id))
{
if(!cs_get_weapon_burst(id)) rof = RATEOFIRE
else rof = BURSTROF
}
I admit it's not actually a problem because it actually works. I'm just concerned about why that error pops up. Not to mention it clutters up my console because it appears everytime I fire so it's hard to find the messages I actually need to see.
I've attached the plugin itself in case you guys need to take a look at the whole thing...