Raised This Month: $ Target: $400
 0% 

Won't add


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
DoviuX
Senior Member
Join Date: Jun 2009
Location: Lithuania
Old 10-26-2009 , 16:57   Won't add
Reply With Quote #1

EveryThing compiles but gives 254 ammo.

In Sma :

PHP Code:
new M4A1AMMO
new AK47AMMO
new AWPAMMO
new DEAGLEAMMO

    M4A1AMMO 
register_cvar("rm_m4a1""150" )
    
AK47AMMO register_cvar("rm_ak47""150" )
    
AWPAMMO register_cvar("rm_awp""60" )
    
DEAGLEAMMO register_cvar("rm_deagle""100" )


public 
plugin_cfg()
{
    
// Get configs dir
    
new cfgdir32 ]
    
get_configsdircfgdircharsmaxcfgdir ) )

    
// Execute config file (haha.cfg)
    
server_cmd"exec %s/haha.cfg"cfgdir )
}

        
cs_set_user_bpammoidCSW_M4A1M4A1AMMO )
        
cs_set_user_bpammoidCSW_AK47AK47AMMO )
        
cs_set_user_bpammoidCSW_AWPAWPAMMO )
        
cs_set_user_bpammoidCSW_DEAGLEDEAGLEAMMO 
In Cfg:

Code:
rm_m4a1	"150"
rm_ak47		"150"		
rm_awp		"60"		
rm_deagle	"100"
DoviuX is offline
Send a message via Skype™ to DoviuX
 



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


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