Raised This Month: $ Target: $400
 0% 

[SOLVED] Weapon Bulllet


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Old.School
Senior Member
Join Date: Sep 2015
Location: France
Old 11-14-2015 , 11:15   [SOLVED] Weapon Bulllet
Reply With Quote #1

i need help to Make Deagle Have Only 1 bullet not 7 bullet and thnx for all

PHP Code:
for(new 1<= g_iMaxPlayersi++)
        {
            if(!
is_user_alive(i)) continue;
            switch(
jbe_get_user_team(i))
            {
                case 
1:
                {
                    
fm_strip_user_weapons(i);
                    
fm_give_item(i"weapon_deagle");
                    
fm_set_user_bpammo(iCSW_DEAGLE0);
                }
                case 
2:
                {
                    
fm_strip_user_weapons(i);
                    
fm_give_item(i"weapon_deagle");
                    
fm_set_user_bpammo(iCSW_DEAGLE0);

                }
            }
        } 
__________________
You keep bringing B.R down .. He will rise again and kick Enemies asses !

Last edited by Old.School; 11-14-2015 at 20:43.
Old.School is offline
wickedd
Veteran Member
Join Date: Nov 2009
Old 11-14-2015 , 11:59   Re: [HELP] Make Deagle Have Only 1 bullet
Reply With Quote #2

Search the forum, this question has been asked and answered several times before.
__________________
Just buy the fucking game!!!!
I hate No-Steamers and lazy ass people.
wickedd is offline
OciXCrom
Veteran Member
Join Date: Oct 2013
Location: Macedonia
Old 11-14-2015 , 13:49   Re: [HELP] Make Deagle Have Only 1 bullet
Reply With Quote #3

PHP Code:
cs_set_weapon_ammo(find_ent_by_owner(-1"weapon_deagle"id), 1
OciXCrom is offline
Send a message via Skype™ to OciXCrom
Old.School
Senior Member
Join Date: Sep 2015
Location: France
Old 11-14-2015 , 18:20   Re: [HELP] Make Deagle Have Only 1 bullet
Reply With Quote #4

Error: Undefined symbol "cs_set_weapon_ammo" on line 94
__________________
You keep bringing B.R down .. He will rise again and kick Enemies asses !
Old.School is offline
OciXCrom
Veteran Member
Join Date: Oct 2013
Location: Macedonia
Old 11-14-2015 , 19:16   Re: [HELP] Make Deagle Have Only 1 bullet
Reply With Quote #5

Include cstrike...
OciXCrom is offline
Send a message via Skype™ to OciXCrom
Old.School
Senior Member
Join Date: Sep 2015
Location: France
Old 11-14-2015 , 20:42   Re: [HELP] Make Deagle Have Only 1 bullet
Reply With Quote #6

i found another solution but thnx anyway
__________________
You keep bringing B.R down .. He will rise again and kick Enemies asses !
Old.School is offline
Reply


Thread Tools
Display Modes

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:57.


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