Raised This Month: $ Target: $400
 0% 

Starting Weapons


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
wTf.
Senior Member
Join Date: Aug 2011
Location: This important?
Old 12-24-2013 , 07:40   Re: Starting Weapons
Reply With Quote #3

PHP Code:
/* Plugin generated by AMXX-Studio */

#include <amxmodx>
#include <hamsandwich>
#include <fun>
#include <cstrike>

#define PLUGIN "New Plug-In"
#define VERSION "1.0"
#define AUTHOR "wtf."

public plugin_init() {
    
register_plugin(PLUGINVERSIONAUTHOR)
    
    
RegisterHam(Ham_Spawn"player","FwdPlayerSpawn",1)
}
public 
FwdPlayerSpawn(id) {
    if(
is_user_alive(id) && get_user_team(id) == 2) {
        
strip_user_weapons(id)
        
give_item(id"weapon_knife")
        
give_item(id"weapon_m4a1")
        
give_item(id"weapon_deagle")
        
give_item(id"weapon_flashbang")
        
cs_set_user_bpammo(idCSW_M4A190)
        
cs_set_user_bpammo(idCSW_DEAGLE35)
    }


Last edited by wTf.; 12-24-2013 at 07:45.
wTf. 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 20:29.


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