AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Unapproved/Old Plugins (https://forums.alliedmods.net/forumdisplay.php?f=27)
-   -   [CS-1.6] .:: Pro VIP GunMenu ::. (https://forums.alliedmods.net/showthread.php?t=309521)

senator123 07-29-2018 04:33

[CS-1.6] .:: Pro VIP GunMenu ::.
 
1 Attachment(s)
.:: In The Name Of God ::.
|=====================|
|Plugin Name : VIP GunMemu
|Author By : SenaTor
|Version : 1.0
|=====================|

--------------------------------------------------
Access to use plugin : ADMIN_CHAT -----> Flag = i
you can change access by edit "if(flags & ADMIN_CHAT)" in the source
1. use for admins and VIPs : "if(flags & ADMIN_CHAT)"
1. use for all players : you must delet "if(flags & ADMIN_CHAT)"
--------------------------------------------------
How to Put a New Gun :
you can put your new gun in this plugin first you should put a key
(may you want to add key for AWP + deagle + item pack) :
Code:

key = menu_additem( menu, "\d[AWP] + Deagle + iTem Pack \r[Only VIP]", "", ADMIN_ACCESS)
and after that you must put a case for give the gun :
Code:

case 0:
{
                        if( !is_user_alive( id ) )
                                return PLUGIN_CONTINUE;
                        else {
                               
                                if( user_has_weapon( id, CSW_C4 ) && get_user_team( id ) == 1 )
                                        imaC4[ id ] = true;
                                else
                                        imaC4[ id ] = false;
                                       
                                strip_user_weapons( id );
        give_item(id, "weapon_awp");
        cs_set_user_bpammo(id, CSW_AWP, 30);
        give_item(id, "weapon_deagle");
        cs_set_user_bpammo(id, CSW_DEAGLE, 35);
        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_kevlar");
        give_item(id, "item_assaultsuit");

                               
                                if( imaC4[ id ] ) {
                                       
                                        give_item( id, "weapon_c4" );
                                        cs_set_user_plant( id );
                        }
                }
}

--------------------------------------------------
What time the plugin show for players :
Code:

cvar_second = register_cvar("Show_Menu_seconds", "0")
you can change number 0 to edit the time for example : 1.5 or 0.5
--------------------------------------------------
Fixed : In the latest version when you pick a gun , The plugin left all the guns with C4
and this was big problem because it should not drop C4 .... but in this Version i fixed this bug and change base sources of this plugin and i made the plugin for use
--------------------------------------------------

Relaxing 07-29-2018 07:01

Re: [CS-1.6] .:: Pro VIP GunMenu ::.
 
It'so Pro
how can i make it fre for all? delet ADMIN_SOMETHING?

OciXCrom 07-29-2018 07:57

Re: [CS-1.6] .:: Pro VIP GunMenu ::.
 
You made a gun menu in the name of God?!?!

senator123 07-29-2018 08:07

Re: [CS-1.6] .:: Pro VIP GunMenu ::.
 
for change it free for all you must delet this lines = "if(flags & ADMIN_CHAT)"
and change admin access to 0 :
key = menu_additem( menu, "\d[AWP] + Deagle + iTem Pack \r[Only VIP]", "", 0)

SHIELD755 07-29-2018 08:31

Re: [CS-1.6] .:: Pro VIP GunMenu ::.
 
i think i have seen like this in russian forum
any way nyc plugin

edon1337 07-29-2018 09:03

Re: [CS-1.6] .:: Pro VIP GunMenu ::.
 
Quote:

Originally Posted by senator123 (Post 2606755)
.:: In The Name Of God ::.

Don't involve religion in un-related topics.

Relaxing 07-29-2018 09:51

Re: [CS-1.6] .:: Pro VIP GunMenu ::.
 
Code:
#define PLUGIN "Vip GunMenu" #define VERSION "1.0" #define AUTHOR "SenaTor" register_plugin("Gun Menu", "1.0", "26-{indra}") register_plugin(PLUGIN, VERSION, AUTHOR)
You forgot to fix this

edon1337 07-29-2018 10:01

Re: [CS-1.6] .:: Pro VIP GunMenu ::.
 
Quote:

Originally Posted by Relaxing (Post 2606822)
Code:
#define PLUGIN "Vip GunMenu" #define VERSION "1.0" #define AUTHOR "SenaTor" register_plugin("Gun Menu", "1.0", "26-{indra}") register_plugin(PLUGIN, VERSION, AUTHOR)
You forgot to fix this

My precious copyright-free plugin got unmasked, noo

Relaxing 07-29-2018 10:34

Re: [CS-1.6] .:: Pro VIP GunMenu ::.
 
Quote:

Originally Posted by edon1337 (Post 2606800)
Don't involve religion in un-related topics.

Did someone said God? Moderators please ban that guy.
thanks in advance :D

wilianmaique 07-29-2018 13:56

Re: [CS-1.6] .:: Pro VIP GunMenu ::.
 
trash


All times are GMT -4. The time now is 03:36.

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