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

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


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
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 - 2586 views - 8.5 KB)
senator123 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 02:54.


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