Raised This Month: $ Target: $400
 0% 

[ H3LP ] Use bpammo instead of clip?


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
CrazY.
Veteran Member
Join Date: May 2015
Location: SP, Brazil
Old 07-02-2017 , 20:20   Re: [ H3LP ] Use bpammo instead of clip?
Reply With Quote #1

Bugsy, the code is subtracting 1 from the Bpammo of the player even if it is not firing. I print the value of IBP, is showing the Bpammo that the player should have, but in the hud shows the current value subtracted by one. So when the player's Bpammo is at 0, I can shoot one more time.

Apart from that problem, the code is OK!

I did some tests and found that if you change the display value to -1, it will only show you the Bpammo.

Edit: If I get user button and check if is IN_ATTACK the code work, but still player can shoot more one time if bpammo are 0
__________________









Last edited by CrazY.; 07-03-2017 at 00:23.
CrazY. 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 22:55.


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