Raised This Month: $51 Target: $400
 12% 

Only purchase on base


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
.ThePro
Member
Join Date: Aug 2011
Location: Brazil
Old 04-23-2012 , 20:00   Only purchase on base
Reply With Quote #1

I would by this plugin to just buy the base ..
Because with it you can buy anywhere in the map.
But I just want to buy at the bottom (where it appears the shopping cart).

Code:
#include <amxmodx>
#include <fun>
#include <cstrike>

#define PLUGIN "Buy Weapon"
#define VERSION "1.0"
#define AUTHOR ".ThePro" //not remove


public plugin_init() {
    register_plugin(PLUGIN, VERSION, AUTHOR)
    
    register_clcmd("say /weapon", "Buy_Weapon")
}

public Buy_Weapon(id){

            give_item(id, "weapon_knife")
            give_item(id, "weapon_hegrenade")
            give_item(id, "weapon_flashbang")
            give_item(id, "weapon_flashbang")
            give_item(id, "weapon_smokegrenade")
            give_item(id, "item_assaultsuit")
            give_item(id, "item_thighpack")
            give_item(id, "weapon_deagle")
            give_item(id, "weapon_m4a1")

            cs_set_user_bpammo(id, CSW_M4A1, 100)
            cs_set_user_bpammo(id, CSW_DEAGLE, 100)
}
__________________
Of Developer to apprentice.

.ThePro is offline
Send a message via MSN to .ThePro
 



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 01:06.


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