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

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


Post New Thread Reply   
 
Thread Tools Display Modes
Plugin Info:     Modification:   Counter-Strike        Category:   Admin Commands       
senator123
New Member
Join Date: Jul 2018
Old 07-29-2018 , 04:33   [CS-1.6] .:: Pro VIP GunMenu ::.
Reply With Quote #1

.:: 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
--------------------------------------------------
Attached Files
File Type: sma Get Plugin or Get Source (gunmenu.sma - 101 views - 8.5 KB)
senator123 is offline
Relaxing
Veteran Member
Join Date: Jun 2016
Location: Catlands
Old 07-29-2018 , 07:01   Re: [CS-1.6] .:: Pro VIP GunMenu ::.
Reply With Quote #2

It'so Pro
how can i make it fre for all? delet ADMIN_SOMETHING?
__________________
Have A Relaxing Day | Wiki
aim_relaxing
Relaxing is offline
OciXCrom
Veteran Member
Join Date: Oct 2013
Location: Macedonia
Old 07-29-2018 , 07:57   Re: [CS-1.6] .:: Pro VIP GunMenu ::.
Reply With Quote #3

You made a gun menu in the name of God?!?!
__________________
OciXCrom is offline
Send a message via Skype™ to OciXCrom
senator123
New Member
Join Date: Jul 2018
Old 07-29-2018 , 08:07   Re: [CS-1.6] .:: Pro VIP GunMenu ::.
Reply With Quote #4

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)

Last edited by senator123; 07-29-2018 at 08:08.
senator123 is offline
SHIELD755
Senior Member
Join Date: Feb 2018
Location: I am living in house bsd
Old 07-29-2018 , 08:31   Re: [CS-1.6] .:: Pro VIP GunMenu ::.
Reply With Quote #5

i think i have seen like this in russian forum
any way nyc plugin
__________________
BUSY AT SOME STUFF

AVENGER:INFINITY WAR MOD [started on 29 aug ]

thats it
I AM BACK
SHIELD755 is offline
edon1337
Penguin Enthusiast
Join Date: Jun 2016
Location: Traphouse
Old 07-29-2018 , 09:03   Re: [CS-1.6] .:: Pro VIP GunMenu ::.
Reply With Quote #6

Quote:
Originally Posted by senator123 View Post
.:: In The Name Of God ::.
Don't involve religion in un-related topics.
__________________
edon1337 is online now
Send a message via Skype™ to edon1337
Relaxing
Veteran Member
Join Date: Jun 2016
Location: Catlands
Old 07-29-2018 , 09:51   Re: [CS-1.6] .:: Pro VIP GunMenu ::.
Reply With Quote #7

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
__________________
Have A Relaxing Day | Wiki
aim_relaxing
Relaxing is offline
edon1337
Penguin Enthusiast
Join Date: Jun 2016
Location: Traphouse
Old 07-29-2018 , 10:01   Re: [CS-1.6] .:: Pro VIP GunMenu ::.
Reply With Quote #8

Quote:
Originally Posted by Relaxing View Post
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
__________________
edon1337 is online now
Send a message via Skype™ to edon1337
Relaxing
Veteran Member
Join Date: Jun 2016
Location: Catlands
Old 07-29-2018 , 10:34   Re: [CS-1.6] .:: Pro VIP GunMenu ::.
Reply With Quote #9

Quote:
Originally Posted by edon1337 View Post
Don't involve religion in un-related topics.
Did someone said God? Moderators please ban that guy.
thanks in advance
__________________
Have A Relaxing Day | Wiki
aim_relaxing
Relaxing is offline
wilianmaique
Member
Join Date: Nov 2016
Old 07-29-2018 , 13:56   Re: [CS-1.6] .:: Pro VIP GunMenu ::.
Reply With Quote #10

trash
wilianmaique is offline
Send a message via Skype™ to wilianmaique
Reply


Thread Tools
Display Modes

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 12:27.


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