Raised This Month: $ Target: $400
 0% 

Not giving weapon!


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
CarbonDioxide
Member
Join Date: Apr 2012
Old 06-14-2012 , 15:31   Re: Not giving weapon!
Reply With Quote #3

PHP Code:
public random(idplayer)
    {
        
formatex(optioncharsmax(option), "%L"LANG_SERVER"UJBM_MENU_LASTREQ_SEL2"dst)
    
        new 
players[32], numplayer;
        
get_playersplayersnum"a" );
        
        for( new 
0numi++ )
        {
            
player players[i];
            
            
server_cmd("jb_block_weapons")
            
player_strip_weapons_all()
                            
            switch(
cs_get_user_team(player))
            {
                case 
CS_TEAM_T:
                {
                    
set_user_health(player1);
                    
give_item(player"weapon_ak47");
                    
cs_set_user_bpammo(playerCSW_AK47200);
                    
set_user_rendering(playerkRenderFxGlowShell000kRenderTransAlpha15);
                }            
                case 
CS_TEAM_CT:
                {
                    
set_user_health(player100);
                    
give_item(player"weapon_glock18");
                    
cs_set_user_bpammo(playerCSW_GLOCK18120)
                }
            }
        }
    } 
CarbonDioxide is offline
 



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


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