Raised This Month: $ Target: $400
 0% 

[Help] Fix my Codes


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Bugsy
AMX Mod X Moderator
Join Date: Feb 2005
Location: NJ, USA
Old 05-25-2009 , 10:13   Re: [Help] Edit my Codes
Reply With Quote #1

You are using cs_set_user_bpammo and cs_set_weapon_ammo incorrectly, proper usage:

http://www.amxmodx.org/funcwiki.php?go=func&id=186

http://www.amxmodx.org/funcwiki.php?go=func&id=208

cs_set_weapon_ammo is a bit more tricky because you need to pass the entity id, not the weapon index. There is an example in the function thread at the bottom; not sure if it works.
Make all of those corrections and then see what errors are left.
__________________
Bugsy is offline
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 01:32.


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