Raised This Month: $ Target: $400
 0% 

Solved cs_get_weapon_burst Error


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
hellmonja
Senior Member
Join Date: Oct 2015
Old 05-17-2016 , 01:41   cs_get_weapon_burst Error
Reply With Quote #1

I'm wondering why I'm getting this error in my console:
PHP Code:
L 05/17/2016 13:32:24: [CSTRIKENon-player entity 1 out of range
L 05
/17/2016 13:32:24: [AMXXRun time error 10 (plugin "ap-vp70.amxx") (native "cs_get_weapon_burst") - debug not enabled!
L 05/17/2016 13:32:24: [AMXXTo enable debug modeadd "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...
Attached Files
File Type: sma Get Plugin or Get Source (ap-vp70.sma - 560 views - 20.9 KB)

Last edited by hellmonja; 06-25-2017 at 04:22. Reason: Solved...
hellmonja is offline
 



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 18:42.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode