Raised This Month: $ Target: $400
 0% 

Runtime 10 on cs_set_weapon_ammo (0.20 RC5)


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
jtp10181
Veteran Member
Join Date: May 2004
Location: Madison, WI
Old 09-22-2004 , 20:33  
Reply With Quote #9

Quote:
Originally Posted by Mugwump
jtp, this is something I'd love to incorporate into a plugin I am working on, but the code here doesn't work for me (using the TP4 version of amxx 0.20)...

I added variable dump comments to every step of the changeWeapon routine and everything looks right, the ids are all correct and it gets to the point where the weapon I have _should_ be getting its clip set, but it doesnt. I even hardcoded in the number 12 for the USP I was testing with instead of using the clip lookup routine and it didnt change anything, the cs_set_weapon_ammo() just doesn't do anything for me.

What amxx platform have you tested this on? If 0.20 did you test with TP4 ? If its a matter of just installing the latest nightly build I have no problem doing that, was hoping to wait until the final release of 0.20 ...

Thanks!
-Mug
I belive I did this on RC5, the exact code I posted I compiled as a plugin and tried it, it worked perfectly.
__________________
jtp10181 is offline
Send a message via ICQ to jtp10181 Send a message via AIM to jtp10181 Send a message via MSN to jtp10181 Send a message via Yahoo to jtp10181
 



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 17:16.


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