AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Suggestions / Requests (https://forums.alliedmods.net/forumdisplay.php?f=12)
-   -   Need a VIP guns Menu (https://forums.alliedmods.net/showthread.php?t=231904)

preetham 12-22-2013 05:31

Need a VIP guns Menu
 
Y0 Guys!

I need a vip gun menu for public server..

cmd:- /vipguns
When a VIP player types /vipguns, a menu shld appear anytime and anywhere in the map... Like this: [IMG]http://**************/photo/my-images/189/7vsa.png/[/IMG]
[IMG]http://img31.**************/img31/9732/jltg.jpg[/IMG]

In my server vips are getting this menu only at the beginning of the each round(and without typing /vipgunmenu). Please make a plugin with which /vipgunmenu can be typed and can be typed
unlimited, anytime and anywhere and for free without cutting money from 16000$.

SRY FOR MY BAD ENGLISH :oops::oops::oops:

Here is the code for weapons in menu>>

Code:

case 0: {
            if (user_has_weapon(id, CSW_C4) && get_user_team(id) == 1)
                HasC4[id] = true;
            else
                HasC4[id] = false;
           
            strip_user_weapons (id)
            give_item(id,"weapon_awp")
            give_item(id,"ammo_338magnum")
            give_item(id,"ammo_338magnum")
            give_item(id,"ammo_338magnum")
            give_item(id,"weapon_deagle")
            give_item(id,"ammo_50ae")
            give_item(id,"ammo_50ae")
            give_item(id,"ammo_50ae")
            give_item(id,"ammo_50ae")
            give_item(id,"ammo_50ae")
            give_item(id,"ammo_50ae")
            give_item(id,"ammo_50ae")
            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");
            client_print(id, print_center, "[100 VIP] You Took Free Awp and Deagle")
           
            if (HasC4[id])
            {
                give_item(id, "weapon_c4");
                cs_set_user_plant( id );
            }
            }
        case 1: {
            if (user_has_weapon(id, CSW_C4) && get_user_team(id) == 1)
                HasC4[id] = true;
            else
                HasC4[id] = false;
           
            strip_user_weapons (id)
            give_item(id,"weapon_m4a1")
            give_item(id,"ammo_556nato")
            give_item(id,"ammo_556nato")
            give_item(id,"ammo_556nato")
            give_item(id,"weapon_deagle")
            give_item(id,"ammo_50ae")
            give_item(id,"ammo_50ae")
            give_item(id,"ammo_50ae")
            give_item(id,"ammo_50ae")
            give_item(id,"ammo_50ae")
            give_item(id,"ammo_50ae")
            give_item(id,"ammo_50ae")
            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");
            client_print(id, print_center, "You Took Free M4A1 and Deagle")
           
            if (HasC4[id])
            {
                give_item(id, "weapon_c4");
                cs_set_user_plant( id );
            }
            }
        case 2: {
            if (user_has_weapon(id, CSW_C4) && get_user_team(id) == 1)
                HasC4[id] = true;
            else
                HasC4[id] = false;
           
            strip_user_weapons (id)
            give_item(id,"weapon_ak47")
            give_item(id,"ammo_762nato")
            give_item(id,"ammo_762nato")
            give_item(id,"ammo_762nato")
            give_item(id,"weapon_deagle")
            give_item(id,"ammo_50ae")
            give_item(id,"ammo_50ae")
            give_item(id,"ammo_50ae")
            give_item(id,"ammo_50ae")
            give_item(id,"ammo_50ae")
            give_item(id,"ammo_50ae")
            give_item(id,"ammo_50ae")
            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");
            client_print(id, print_center, "You took Free AK47 and Deagle")
           
            if (HasC4[id])
            {
                give_item(id, "weapon_c4");
                cs_set_user_plant( id );
            }
            }


wickedd 12-22-2013 11:46

Re: Need a VIP guns Menu
 
1 Attachment(s)
Quote:

Originally Posted by preetham (Post 2074909)
I need a vip gun menu for public server..

cmd:- /vipguns
When a VIP player types /vipguns, a menu shld appear anytime and anywhere in the map

Here you go.

preetham 12-23-2013 00:28

Re: Need a VIP guns Menu
 
Quote:

Originally Posted by wickedd (Post 2075009)
Here you go.

Ty wickedd it worked :D you're awesome man!:wink:.... but i have one more thing to ask.. make vips carry two rifles at a time... if it possible :|


All times are GMT -4. The time now is 20:22.

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