Modificare plugin vip

Categoria cu cereri de pluginuri si nu numai.

Moderators: Moderatori ajutatori, Moderatori, Echipa eXtreamCS.com

Forum rules
Accesează link-ul pentru a putea vedea regulile forumului

Daca doriti sa vi se modifice un plugin, va rugam postati aici .
Post Reply
catalin013
Membru, skill 0
Membru, skill 0
Posts: 21
Joined: 12 Mar 2014, 23:12
Detinator Steam: Nu
CS Status: Citesc forumul eXtreamCS.com...!
Contact:

17 Mar 2020, 01:15

Plugin Cerut:VIP
Descriere (adica ce face el mai exact): Iti ofera anumite beneficii
Serverul impune conditii strict HLDS/REHLDS?:nu
Ai cautat pluginul?(daca da, precizeaza cum):google am gasit ceva dar nu pot sa il activez free all
Necesita mod special?: Domnilor va rog foarte frumos sa ma ajutati cu acest plugin de vip... apare meniul cu arme merge sa iau dar nu pot playerii...eu acum doresc ori un plugin de vip simplu ma intereseaza fara SMOKE ak+deagle+1he+2fb // m4a1+idem //awp+idem
Ori poate ma ajutati sa imi spuneti unde sa modific sa le de-a acces si la playeri mereu ...va rog din suflet, respect exteamcs!
AVETI CODUL MAI JOS

Code: Select all

#include <amxmodx>
#include <amxmisc>
#include <hamsandwich>
#include <cstrike>
#include <fun>

#define PLUGIN "Vip GunMenu"
#define VERSION "1.0"
#define AUTHOR "SenaTor"

#define ADMIN_ACCESS ADMIN_CHAT
new bool:imaC4[ 33 ];

new menu;

new cvar_second;

public plugin_init()
{
register_plugin("Gun Menu", "1.0", "26-{indra}")
register_plugin(PLUGIN, VERSION, AUTHOR)
RegisterHam(Ham_Spawn, "player", "fw_PlayerSpawn_Post", 1)

cvar_second = register_cvar("Show_Menu_seconds", "0")

}
public fw_PlayerSpawn_Post(id)
{ 
if (!is_user_alive(id))
return;

set_task(get_pcvar_float(cvar_second), "Vip_menu", id)
}

public Vip_menu(id)
{
if (!is_user_alive(id))
return

new flags = get_user_flags(id)

menu = menu_create("[VIP \r[Gun] \wMenu]", "VIP_handler")




menu_additem( menu, "\w[M4A1] \y+ \wDeagle \y+ \wiTem Pack \r[Only VIP]", "", 0)
else
menu_additem( menu, "\d[M4A1] + Deagle + iTem Pack \r[Only VIP]", "", 0)




menu_additem( menu, "\w[AK47] \y+ \wDeagle \y+ \wiTem Pack \r[Only VIP]", "", 0)
else
menu_additem( menu, "\d[AK47] + Deagle + iTem Pack \r[Only VIP]", "", 0)



menu_additem( menu, "\w[AWP] \y+ \wDeagle \y+ \wiTem Pack \r[Only VIP]", "", 0)
else
menu_additem( menu, "\d[AWP] + Deagle + iTem Pack \r[Only VIP]", "", 0)


menu_additem( menu, "\w[SG552] \y+ \wP228 \y+ \wiTem Pack \r[Only VIP]", "", 0)
else
menu_additem( menu, "\d[SG522] + P225 + iTem Pack \r[Only VIP]", "", 0)


menu_additem( menu, "\w[AUG] \y+ \wUSP \y+ \wiTem Pack \r[Only VIP]", "", 0)
else
menu_additem( menu, "\d[AUG] + USP + iTem Pack \r[Only VIP]", "", 0)


menu_additem( menu, "\w[FAMAS] \y+ \wFiveSeven \y+ \wiTem Pack \r[Only VIP]", "", 0)
else
menu_additem( menu, "\d[FAMAS] + FiveSeven + iTem Pack \r[Only VIP]", "", 0)


menu_additem( menu, "\w[GALIL] \y+ \wElite \y+ \wiTem Pack \r[Only VIP]", "", 0)
else
menu_additem( menu, "\d[GALIL] + Elite + iTem Pack \r[Only VIP]", "", 0)



menu_display(id, menu, 0)
}
public VIP_handler(id, EXIT, item)
{
if (!is_user_alive(id))
return PLUGIN_HANDLED 

if(item == MENU_EXIT)
{
menu_destroy(EXIT);
return PLUGIN_HANDLED;
}

switch(item)
{
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_m4a1");
        cs_set_user_bpammo(id, CSW_M4A1, 90);
        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 );
			}
		}
}
case 1:
{
			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_ak47");
        cs_set_user_bpammo(id, CSW_AK47, 90);
        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 );
			}
		}
}
case 2:
{
			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 );
			}
		}
}
case 3:
{
			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_sg552");
        cs_set_user_bpammo(id, CSW_SG552, 90);
        give_item(id, "weapon_p228");
        cs_set_user_bpammo(id, CSW_P228, 52);
        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 );
			}
		}
}
case 4:
{
			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_aug");
        cs_set_user_bpammo(id, CSW_AUG, 90);
        give_item(id, "weapon_usp");
        cs_set_user_bpammo(id, CSW_USP, 24);
        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 );
			}
		}
}
case 5:
{
			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_famas");
        cs_set_user_bpammo(id, CSW_FAMAS, 90);
        give_item(id, "weapon_fiveseven");
        cs_set_user_bpammo(id, CSW_FIVESEVEN, 40);
        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 );
			}
		}
}
case 6:
{
			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_galil");
        cs_set_user_bpammo(id, CSW_GALIL, 90);
        give_item(id, "weapon_elite");
        cs_set_user_bpammo(id, CSW_ELITE, 40);
        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 );
			}
		}
}


}
return PLUGIN_HANDLED;
}
/* AMXX-Studio Notes - DO NOT MODIFY BELOW HERE
*{\\ rtf1\\ fbidis\\ ansi\\ ansicpg1256\\ deff0\\ deflang1065{\\ fonttbl{\\ f0\\ fnil Tahoma;}}\n\\ viewkind4\\ uc1\\ pard\\ ltrpar\\ f0\\ fs10 \n\\ par }
*/
[/b]
My Personal Laptop!

Code: Select all

HP EliteBook 8560p
Procesor: Intel Core I7 2,40 GHz
Placa video :AMD..... 1024 GM
RAM : 6 GB DDR3 Kingston
HDD : 200GB
Luckarena.com
User avatar
Laurentiu P.
Fost moderator
Fost moderator
Posts: 2358
Joined: 10 Jul 2013, 20:26
Detinator Steam: Nu
Reputatie: Fost super moderator
Fond eXtream: 100
Has thanked: 16 times
Been thanked: 40 times

17 Mar 2020, 07:39

Code: Select all

#define ADMIN_ACCESS ADMIN_CHAT
=>

Code: Select all

#define ADMIN_ACCESS ADMIN_ALL
Image
User avatar
N3v3rM1nd
Membru, skill 0
Membru, skill 0
Posts: 91
Joined: 06 Oct 2018, 13:41
Detinator Steam: Da
CS Status: Just a simple guy :P
Detinator server CS: As vrea eu xD
SteamID: Da
Fond eXtream: 0
Location: Constanta
Has thanked: 16 times
Contact:

17 Mar 2020, 19:28

Modifcat fara smoke si toti jucatorii sa aiba acces

Code: Select all

#include <amxmodx>
#include <amxmisc>
#include <hamsandwich>
#include <cstrike>
#include <fun>

#define PLUGIN "Vip GunMenu"
#define VERSION "1.0"
#define AUTHOR "SenaTor"

#define ADMIN_ACCESS ADMIN_ALL
new bool:imaC4[ 33 ];

new menu;

new cvar_second;

public plugin_init()
{
register_plugin("Gun Menu", "1.0", "26-{indra}")
register_plugin(PLUGIN, VERSION, AUTHOR)
RegisterHam(Ham_Spawn, "player", "fw_PlayerSpawn_Post", 1)

cvar_second = register_cvar("Show_Menu_seconds", "0")

}
public fw_PlayerSpawn_Post(id)
{ 
if (!is_user_alive(id))
return;

set_task(get_pcvar_float(cvar_second), "Vip_menu", id)
}

public Vip_menu(id)
{
if (!is_user_alive(id))
return

new flags = get_user_flags(id)

menu = menu_create("[VIP \r[Gun] \wMenu]", "VIP_handler")




menu_additem( menu, "\w[M4A1] \y+ \wDeagle \y+ \wiTem Pack \r[Only VIP]", "", 0)
else
menu_additem( menu, "\d[M4A1] + Deagle + iTem Pack \r[Only VIP]", "", 0)




menu_additem( menu, "\w[AK47] \y+ \wDeagle \y+ \wiTem Pack \r[Only VIP]", "", 0)
else
menu_additem( menu, "\d[AK47] + Deagle + iTem Pack \r[Only VIP]", "", 0)



menu_additem( menu, "\w[AWP] \y+ \wDeagle \y+ \wiTem Pack \r[Only VIP]", "", 0)
else
menu_additem( menu, "\d[AWP] + Deagle + iTem Pack \r[Only VIP]", "", 0)


menu_additem( menu, "\w[SG552] \y+ \wP228 \y+ \wiTem Pack \r[Only VIP]", "", 0)
else
menu_additem( menu, "\d[SG522] + P225 + iTem Pack \r[Only VIP]", "", 0)


menu_additem( menu, "\w[AUG] \y+ \wUSP \y+ \wiTem Pack \r[Only VIP]", "", 0)
else
menu_additem( menu, "\d[AUG] + USP + iTem Pack \r[Only VIP]", "", 0)


menu_additem( menu, "\w[FAMAS] \y+ \wFiveSeven \y+ \wiTem Pack \r[Only VIP]", "", 0)
else
menu_additem( menu, "\d[FAMAS] + FiveSeven + iTem Pack \r[Only VIP]", "", 0)


menu_additem( menu, "\w[GALIL] \y+ \wElite \y+ \wiTem Pack \r[Only VIP]", "", 0)
else
menu_additem( menu, "\d[GALIL] + Elite + iTem Pack \r[Only VIP]", "", 0)



menu_display(id, menu, 0)
}
public VIP_handler(id, EXIT, item)
{
if (!is_user_alive(id))
return PLUGIN_HANDLED 

if(item == MENU_EXIT)
{
menu_destroy(EXIT);
return PLUGIN_HANDLED;
}

switch(item)
{
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_m4a1");
        cs_set_user_bpammo(id, CSW_M4A1, 90);
        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, "item_kevlar");
        give_item(id, "item_assaultsuit");
				
				if( imaC4[ id ] ) {
					
					give_item( id, "weapon_c4" );
					cs_set_user_plant( id );
			}
		}
}
case 1:
{
			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_ak47");
        cs_set_user_bpammo(id, CSW_AK47, 90);
        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, "item_kevlar");
        give_item(id, "item_assaultsuit");
				
				if( imaC4[ id ] ) {
					
					give_item( id, "weapon_c4" );
					cs_set_user_plant( id );
			}
		}
}
case 2:
{
			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, "item_kevlar");
        give_item(id, "item_assaultsuit");
				
				if( imaC4[ id ] ) {
					
					give_item( id, "weapon_c4" );
					cs_set_user_plant( id );
			}
		}
}
case 3:
{
			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_sg552");
        cs_set_user_bpammo(id, CSW_SG552, 90);
        give_item(id, "weapon_p228");
        cs_set_user_bpammo(id, CSW_P228, 52);
        give_item(id,"weapon_knife");
        give_item(id, "weapon_hegrenade");
        give_item(id, "weapon_flashbang");
        give_item(id, "weapon_flashbang");
        give_item(id, "item_kevlar");
        give_item(id, "item_assaultsuit");
				
				if( imaC4[ id ] ) {
					
					give_item( id, "weapon_c4" );
					cs_set_user_plant( id );
			}
		}
}
case 4:
{
			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_aug");
        cs_set_user_bpammo(id, CSW_AUG, 90);
        give_item(id, "weapon_usp");
        cs_set_user_bpammo(id, CSW_USP, 24);
        give_item(id,"weapon_knife");
        give_item(id, "weapon_hegrenade");
        give_item(id, "weapon_flashbang");
        give_item(id, "weapon_flashbang");
        give_item(id, "item_kevlar");
        give_item(id, "item_assaultsuit");
				
				if( imaC4[ id ] ) {
					
					give_item( id, "weapon_c4" );
					cs_set_user_plant( id );
			}
		}
}
case 5:
{
			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_famas");
        cs_set_user_bpammo(id, CSW_FAMAS, 90);
        give_item(id, "weapon_fiveseven");
        cs_set_user_bpammo(id, CSW_FIVESEVEN, 40);
        give_item(id,"weapon_knife");
        give_item(id, "weapon_hegrenade");
        give_item(id, "weapon_flashbang");
        give_item(id, "weapon_flashbang");
        give_item(id, "item_kevlar");
        give_item(id, "item_assaultsuit");
				
				if( imaC4[ id ] ) {
					
					give_item( id, "weapon_c4" );
					cs_set_user_plant( id );
			}
		}
}
case 6:
{
			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_galil");
        cs_set_user_bpammo(id, CSW_GALIL, 90);
        give_item(id, "weapon_elite");
        cs_set_user_bpammo(id, CSW_ELITE, 40);
        give_item(id,"weapon_knife");
        give_item(id, "weapon_hegrenade");
        give_item(id, "weapon_flashbang");
        give_item(id, "weapon_flashbang");
        give_item(id, "item_kevlar");
        give_item(id, "item_assaultsuit");
				
				if( imaC4[ id ] ) {
					
					give_item( id, "weapon_c4" );
					cs_set_user_plant( id );
			}
		}
}


}
return PLUGIN_HANDLED;
}
/* AMXX-Studio Notes - DO NOT MODIFY BELOW HERE
*{\\ rtf1\\ fbidis\\ ansi\\ ansicpg1256\\ deff0\\ deflang1065{\\ fonttbl{\\ f0\\ fnil Tahoma;}}\n\\ viewkind4\\ uc1\\ pard\\ ltrpar\\ f0\\ fs10 \n\\ par }
*/

catalin013
Membru, skill 0
Membru, skill 0
Posts: 21
Joined: 12 Mar 2014, 23:12
Detinator Steam: Nu
CS Status: Citesc forumul eXtreamCS.com...!
Contact:

17 Mar 2020, 21:09

Salutari, va multumesc pentru efort dar tot nu merge nu se deblocheaza meniul pentru playeri ... daca doriti sa mai verificati odata ? va las link fix de la fisierele de pe server si poate le puteti modifica...
SMA: https://easyupload.io/1af8um
AMXX: https://easyupload.io/vur1bl

Va multumesc si respectele mele
Astept Raspuns ,

Moldovan Catalin
My Personal Laptop!

Code: Select all

HP EliteBook 8560p
Procesor: Intel Core I7 2,40 GHz
Placa video :AMD..... 1024 GM
RAM : 6 GB DDR3 Kingston
HDD : 200GB
User avatar
L E V I N
Scripter eXtreamCS
Scripter eXtreamCS
Posts: 2856
Joined: 24 Aug 2011, 11:24
Detinator Steam: Da
CS Status:
Detinator server CS: ☯∴
SteamID: riseofevo
Reputatie: Scripter eXtreamCS
Nume anterior: Adryyy
Location: ҳ̸Ҳ̸ҳ
Has thanked: 38 times
Been thanked: 436 times
Contact:

18 Mar 2020, 12:57

Code: Select all

#include <amxmodx>
#include <amxmisc>
#include <hamsandwich>
#include <cstrike>
#include <fun>

new bool:imaC4[ 33 ];

new cvar_second;

public plugin_init()
{
RegisterHam(Ham_Spawn, "player", "fw_PlayerSpawn_Post", 1)

cvar_second = register_cvar("Show_Menu_seconds", "0.0")

}
public fw_PlayerSpawn_Post(id)
{ 
if (!is_user_alive(id))
return;

if(get_pcvar_float(cvar_second)>1.0)	set_task(get_pcvar_float(cvar_second), "Vip_menu", id)
else	Vip_menu(id)
}

public Vip_menu(id)
{
if (!is_user_alive(id))
return

static menu
menu = menu_create("[VIP \r[Gun] \wMenu]", "VIP_handler")


menu_additem( menu, "\w[SG552] \y+ \wP228 \y+ \wiTem Pack \r[Only VIP]")


menu_additem( menu, "\w[AUG] \y+ \wUSP \y+ \wiTem Pack \r[Only VIP]")


menu_additem( menu, "\w[FAMAS] \y+ \wFiveSeven \y+ \wiTem Pack \r[Only VIP]")


menu_additem( menu, "\w[GALIL] \y+ \wElite \y+ \wiTem Pack \r[Only VIP]")



menu_display(id, menu, 0)
}
public VIP_handler(id, EXIT, item)
{
if (!is_user_alive(id))
return PLUGIN_HANDLED 

if(item == MENU_EXIT)
{
menu_destroy(EXIT);
return PLUGIN_HANDLED;
}

switch(item)
{
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_sg552");
        cs_set_user_bpammo(id, CSW_SG552, 90);
        give_item(id, "weapon_p228");
        cs_set_user_bpammo(id, CSW_P228, 52);
        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 );
			}
		}
}
case 1:
{
			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_aug");
        cs_set_user_bpammo(id, CSW_AUG, 90);
        give_item(id, "weapon_usp");
        cs_set_user_bpammo(id, CSW_USP, 24);
        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 );
			}
		}
}
case 2:
{
			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_famas");
        cs_set_user_bpammo(id, CSW_FAMAS, 90);
        give_item(id, "weapon_fiveseven");
        cs_set_user_bpammo(id, CSW_FIVESEVEN, 40);
        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 );
			}
		}
}
case 3:
{
			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_galil");
        cs_set_user_bpammo(id, CSW_GALIL, 90);
        give_item(id, "weapon_elite");
        cs_set_user_bpammo(id, CSW_ELITE, 40);
        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 );
			}
		}
}


}
return PLUGIN_HANDLED;
}
/* AMXX-Studio Notes - DO NOT MODIFY BELOW HERE
*{\\ rtf1\\ fbidis\\ ansi\\ ansicpg1256\\ deff0\\ deflang1065{\\ fonttbl{\\ f0\\ fnil Tahoma;}}\n\\ viewkind4\\ uc1\\ pard\\ ltrpar\\ f0\\ fs10 \n\\ par }
*/
Nu fac nimic contra cost! Faceți cerere bine detaliată aici, pe forum. Nu-mi mai dați add pe Steam doar pentru a mă avea în lista de prieteni.
Am cont și activez doar aici! Aveți grijă la cei ce încearcă să mă copieze..Puteți lua legătura cu mine dacă aveți o problemă/nelămurire în acest caz.
În cazul în care utilizați ceva din addonsurile postate de mine aici, e bine să fiți la curent cu modificările aduse unor plugine, aici.
catalin013
Membru, skill 0
Membru, skill 0
Posts: 21
Joined: 12 Mar 2014, 23:12
Detinator Steam: Nu
CS Status: Citesc forumul eXtreamCS.com...!
Contact:

18 Mar 2020, 22:07

Puteti sa dai T/C , L E V I N Respect !!!
My Personal Laptop!

Code: Select all

HP EliteBook 8560p
Procesor: Intel Core I7 2,40 GHz
Placa video :AMD..... 1024 GM
RAM : 6 GB DDR3 Kingston
HDD : 200GB
Post Reply

Return to “Cereri”

  • Information