Raised This Month: $ Target: $400
 0% 

BP Ammo Error + Player out of range


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
fang
Senior Member
Join Date: Nov 2007
Location: New Jersey
Old 03-17-2009 , 21:04   BP Ammo Error + Player out of range
Reply With Quote #1

Quote:
L 03/17/2009 - 17:05:25: [CSTRIKE] Player out of range (0)
L 03/17/2009 - 17:05:25: [AMXX] Run time error 10 (plugin "raptor_gunmenu.amxx") (native "cs_set_user_bpammo") - debug not enabled!
Code:

PHP Code:
public give_weapons(id)
{
    
fm_strip_user_weapons(id)

    
fm_give_item(id,"weapon_knife")

    new 
weapon[32]
    new 
weapname csw_contant(weapon_picked[0][id]);
    
get_weaponname(weapname,weapon,31);
    
fm_give_item(id,weapon);
    
cs_set_user_bpammo(id,weapname,999);

    new 
weapname2 csw_contant(weapon_picked[1][id]);
    
get_weaponname(weapname2,weapon,31);
    
fm_give_item(id,weapon);
    
cs_set_user_bpammo(id,weapname2,999); 
I am not positive of how to fix this glitch It's part of the weapons menu for my raptor mod.
fang 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 09:02.


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