Raised This Month: $ Target: $400
 0% 

how do I make for a player cannot be reload?


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
alan_el_more
Veteran Member
Join Date: Jul 2008
Location: amxmodx-es.com
Old 04-04-2009 , 16:14   how do I make for a player cannot be reload?
Reply With Quote #1

how do i make for a player cannot be recharged and have 1000 bullets?
thanks in advance
__________________

Last edited by alan_el_more; 04-04-2009 at 18:12.
alan_el_more is offline
ot_207
Veteran Member
Join Date: Jan 2008
Location: Romania The Love Country
Old 04-04-2009 , 17:23   Re: help with this pls
Reply With Quote #2

Quote:
Originally Posted by alan_el_more View Post
how do i make for a player cannot be recharged and have 1000 bullets?
thanks in advance
cs_set_weapon_ammo(ent,ammo)

Read the coments. It will tell you how to use it.
__________________
My approved plug-ins | Good for newbies! | Problems?

Back, will come around when I have time.
ot_207 is offline
alan_el_more
Veteran Member
Join Date: Jul 2008
Location: amxmodx-es.com
Old 04-04-2009 , 17:44   Re: help with this pls
Reply With Quote #3

Quote:
Originally Posted by ot_207 View Post
cs_set_weapon_ammo(ent,ammo)

Read the coments. It will tell you how to use it.
thanks ot

and

how do I make for a player cannot be reload?
__________________
alan_el_more is offline
ConnorMcLeod
Veteran Member
Join Date: Jul 2006
Location: France (95)
Old 04-04-2009 , 17:48   Re: help with this pls
Reply With Quote #4

Fix your title please.
__________________
- tired and retired -

- my plugins -
ConnorMcLeod is offline
alan_el_more
Veteran Member
Join Date: Jul 2008
Location: amxmodx-es.com
Old 04-04-2009 , 18:12   Re: help with this pls
Reply With Quote #5

Quote:
Originally Posted by ConnorMcLeod View Post
Fix your title please.
ready
__________________
alan_el_more is offline
Exolent[jNr]
Veteran Member
Join Date: Feb 2007
Location: Tennessee
Old 04-04-2009 , 19:27   Re: how do I make for a player cannot be reload?
Reply With Quote #6

Code:
public plugin_init() {     register_forward(FM_CmdStart, "FwdCmdStart"); } public FwdCmdStart(client, uc_handle, seed) {     static button;     if( is_user_alive(client) && ((button = get_uc(uc_handle, UC_Buttons)) & IN_RELOAD) )     {         set_uc(uc_handle, UC_Buttons, button & ~IN_RELOAD);         return FMRES_SUPERCEDE;     }         return FMRES_IGNORED; }
__________________
No private work or selling mods.
Quote:
Originally Posted by xPaw View Post
I love you exolent!
Exolent[jNr] 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 02:18.


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