Raised This Month: $ Target: $400
 0% 

Reload just one bullet


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
terryoh
Member
Join Date: Apr 2010
Old 07-11-2013 , 04:32   Reload just one bullet
Reply With Quote #1

How Do I set to a weapon( Scout in particullary ) that when I reload it or it's reloading to reload just one bullet from bpammo ?
terryoh is offline
baneado
Veteran Member
Join Date: Dec 2012
Location: amxmodx-es.com
Old 07-11-2013 , 06:34   Re: Reload just one bullet
Reply With Quote #2

I use this:
PHP Code:
update_ammo(id)
{
    if (!
is_user_alive(id)) return;
        
    
message_begin(MSG_ONE_UNRELIABLEget_user_msgid("CurWeapon"), _id)
    
write_byte(1)
    
write_byte(CSW_YOURWEAPON)
    
write_byte(-1)
    
message_end()
    
    
message_begin(MSG_ONE_UNRELIABLEget_user_msgid("AmmoX"), _id)
    
write_byte(6)
    
write_byte(1// ammo
    
message_end()

baneado is offline
terryoh
Member
Join Date: Apr 2010
Old 07-11-2013 , 07:23   Re: Reload just one bullet
Reply With Quote #3

I don't get it ...how's that gonna help :-? ...my purpose was to change the max "ready ammo" from 10 bullets (the actual max ammo of the scout) to 1 bullet ...as in if the weapon reload to get from bpammo just one bullet and not waste 10 :-?
terryoh is offline
Old 07-11-2013, 12:24
akcaliberg
This message has been deleted by akcaliberg.
Old 07-12-2013, 03:32
terryoh
This message has been deleted by YamiKaitou. Reason: wait 14 days before you bump
~Ice*shOt
Veteran Member
Join Date: Mar 2009
Location: Lithuania
Old 07-12-2013 , 06:29   Re: Reload just one bullet
Reply With Quote #4

I think that this thing are in last request plugin
~Ice*shOt is offline
Send a message via Skype™ to ~Ice*shOt
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 06:26.


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