Raised This Month: $ Target: $400
 0% 

What's the problem?


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
crazyeffect
Veteran Member
Join Date: Jul 2008
Location: Belgium
Old 02-06-2010 , 18:14   What's the problem?
Reply With Quote #1

PHP Code:
#include <amxmodx>
#include <cstrike>

#define NO_BULLET_WEAPONS_BITSUM ((1<<CSW_C4)|(1<<CSW_KNIFE)|(1<<CSW_HEGRENADE)|(1<<CSW_SMOKEGRENADE)|(1<<CSW_FLASHBANG))

public plugin_init() {
    
register_plugin("New-Era_UnlimitedAmmo""1.0.1""ConorrMcLeod")

    
register_event("CurWeapon""event_curweapon""be""1=1")
}

public 
event_curweapon(id) {
    new 
weaponID=read_data(2)

    if( !(
NO_BULLET_WEAPONS_BITSUM & (1<<weaponID)) ) {
        
cs_set_user_bpammo(idweaponID255)
    }

Well, it causes an error and it comes from cs_set_user_bpammo.

The author is banned, so i can't ask it there

Quote:
L 02/06/2010 - 158:12: [CSTRIKE] Invalid weapon id 0
L 02/06/2010 - 158:12: [AMXX] Displaying debug trace (plugin "ne_unlimitedammo.amxx")
L 02/06/2010 - 158:12: [AMXX] Run time error 10: native error (native "cs_set_user_bpammo")
L 02/06/2010 - 158:12: [AMXX] [0] ne_unlimitedammo.sma::event_curweapon (line 24)
__________________

Last edited by crazyeffect; 02-06-2010 at 18:16.
crazyeffect is offline
Send a message via MSN to crazyeffect
Seta00
The Seta00 user has crashed.
Join Date: Jan 2010
Location: Berlin
Old 02-06-2010 , 19:20   Re: What's the problem?
Reply With Quote #2

ConorMcLeod is banned??
Seta00 is offline
Kreation
Veteran Member
Join Date: Jan 2010
Location: Illinois
Old 02-06-2010 , 19:23   Re: What's the problem?
Reply With Quote #3

I don't believe that is the actually ConnorMcLeod..
__________________
Hi.
Kreation is offline
fysiks
Veteran Member
Join Date: Sep 2007
Location: Flatland, USA
Old 02-06-2010 , 19:24   Re: What's the problem?
Reply With Quote #4

Quote:
Originally Posted by Seta00 View Post
ConorMcLeod is banned??
lol, I went and checked his profile because I thought it sounded strange .
__________________
fysiks is offline
crazyeffect
Veteran Member
Join Date: Jul 2008
Location: Belgium
Old 02-12-2010 , 11:40   Re: What's the problem?
Reply With Quote #5

Nono, the author of this plugin is banned.

Conorr made a remake of it, but the error keeps occuring.
__________________
crazyeffect is offline
Send a message via MSN to crazyeffect
Reply



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 07:20.


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