Cerere GUN MENU FREEEEE!

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:

22 Mar 2020, 00:37

Plugin Cerut:Un meniu de arme free pentru server de fun nu vreau nu vip cu nimic este server de fun sa fie totul gratis ..va rog frumos
Descriere (adica ce face el mai exact):apar in stanga meniu arme gratis
Serverul impune conditii strict HLDS/REHLDS?:hlds
Ai cautat pluginul?(daca da, precizeaza cum):am cautat nu gasesc ...
Necesita mod special?:..
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
Sigilat.ro
User avatar
1TAP GOD
Membru, skill +1
Membru, skill +1
Posts: 116
Joined: 02 Sep 2018, 23:20
Detinator Steam: Da
CS Status: Be The Best And Fuck The Rest
SteamID: assasinssmdfk
Fond eXtream: 0
Has thanked: 3 times
Been thanked: 7 times
Contact:

22 Mar 2020, 01:52

Code: Select all

/* Plugin generated by AMXX-Studio */

#include <amxmodx>
#include <amxmisc>
#include <fun>
#include <cstrike>
#include <hamsandwich>
#define MAXP 32 + 1
new Choosen[MAXP];
new const Name[]= "Nume Server"
new const FirstWeaponNames[][][] =
{
	{ "", "", 0 },
	{ "AK47", "weapon_ak47", CSW_AK47 },
	{ "M4A1", "weapon_m4a1", CSW_M4A1 },
	{ "AWP", "weapon_awp", CSW_AWP },
	{ "FAMAS", "weapon_famas", CSW_FAMAS },
	{ "MP5", "weapon_mp5navy", CSW_MP5NAVY },
	{ "SCOUT", "weapon_scout", CSW_SCOUT },
	{ "GALIL", "weapon_galil", CSW_GALIL },
	{ "XM1014", "weapon_xm1014", CSW_XM1014 },
	{ "SG550   ", "weapon_sg550   ", CSW_SG550 },
	{ "SG552", "weapon_sg552", CSW_SG552 }
};

new const SecondaryWeaponNames[][][] =
{
	{ "", "", 0 },
	{ "DEAGLE", "weapon_deagle", CSW_DEAGLE },
	{ "USP", "weapon_usp", CSW_USP },
	{ "FIVESEVENT", "weapon_fiveseven", CSW_FIVESEVEN },
	{ "ELITE", "weapon_elite", CSW_ELITE },
	{ "GLOCK-18", "weapon_glock18", CSW_GLOCK18 }
};
public plugin_init() 
{
	RegisterHam(Ham_Spawn, "player", "PlayerSpawn", 1);
}
public PlayerSpawn(id) 
{
	if(!is_user_alive(id))
		return;
		
	Choosen[id] = 0;
	TakeWeapons(id);	
	give_item(id, "item_kevlar");
	give_item(id, "item_assaultsuit");
}

public TakeWeapons(id)
{
	if(is_user_alive(id))
	{
		Choosen[id] = 0;
		new HasC4;
		
		if(user_has_weapon(id, CSW_C4))
		{
			HasC4 = 1;
		}
		
		WeaponMenu(id);
		
		if(HasC4 == 1)
		{
			give_item(id, "weapon_c4");
		}
		
		if(cs_get_user_team(id) == CS_TEAM_CT)
		{
			give_item(id, "item_thighpack");
		}
	}
	return PLUGIN_CONTINUE;
}
public WeaponMenu(id)
{
	if(Choosen[id] > 1)
		return;
		
	new String[128], Menu;
	
	if(Choosen[id] == 0)
	{
		formatex(String, 127, "%s \yArme Gratis",Name);
		Menu = menu_create(String, "WeaponMenuh");
		
		for(new i = 1; i < sizeof(FirstWeaponNames); i++)
		{
			new NumToString[6];
			num_to_str(i, NumToString, 5);
			formatex(String, charsmax(String), "%s", FirstWeaponNames[i][0]);
			menu_additem(Menu, String, NumToString);
		}
	}
	
	if(Choosen[id] == 1)
	{
		formatex(String, 127, "%s \yPistoale Gratis",Name);
		Menu = menu_create(String, "WeaponMenuh");
		
		for(new i = 1; i < sizeof(SecondaryWeaponNames); i++)
		{
			new NumToString[6];
			num_to_str(i, NumToString, 5);
			formatex(String, charsmax(String), "%s", SecondaryWeaponNames[i][0]);
			menu_additem(Menu, String, NumToString);
		}
	}
	
	menu_display(id, Menu);
}

public WeaponMenuh(id, Menu, Item)
{
	if(Item == MENU_EXIT)
	{
		menu_destroy(Menu);
		return;
	}
	
	new Data[14], Line[32];
	new Access, Callback;
	menu_item_getinfo(Menu, Item, Access, Data, charsmax(Data), Line, charsmax(Line), Callback);
	
	new x = str_to_num(Data);
	
	if(Choosen[id] == 0)
	{
		strip_user_weapons(id);
		give_item(id, "weapon_knife");
		give_item(id, FirstWeaponNames[x][1]);
		cs_set_user_bpammo(id, FirstWeaponNames[x][2][0], 90);
	}
	if(Choosen[id] == 1)
	{
		give_item(id, SecondaryWeaponNames[x][1]);
		cs_set_user_bpammo(id, SecondaryWeaponNames[x][2][0], 90);
	}
		
	Choosen[id]++;
	
	if(Choosen[id] >= 2)
	{
		Grenades(id);
	}
		
	WeaponMenu(id);
}
stock Grenades(id)
{
	give_item(id, "weapon_hegrenade");
	give_item(id, "weapon_flashbang");
	give_item(id, "weapon_flashbang");
	give_item(id, "weapon_smokegrenade");
}
Daca vreti ceva da-ti add aici https://steamcommunity.com/id/assasinssmdfk/ lăsați un comentariu pe profil cu motivul cereri,altfel nu accept! :lips_kiss:
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:

22 Mar 2020, 16:12

Salut , este functional meniul dar la Terrorist cand iei arme aluneaza bomba si dispare .. un ajutor va rog la codul de mai sus?
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
1TAP GOD
Membru, skill +1
Membru, skill +1
Posts: 116
Joined: 02 Sep 2018, 23:20
Detinator Steam: Da
CS Status: Be The Best And Fuck The Rest
SteamID: assasinssmdfk
Fond eXtream: 0
Has thanked: 3 times
Been thanked: 7 times
Contact:

22 Mar 2020, 17:09

Code: Select all

/* Plugin generated by AMXX-Studio */

#include <amxmodx>
#include <amxmisc>
#include <fun>
#include <cstrike>
#include <hamsandwich>
#define MAXP 32 + 1
new Choosen[MAXP];
new const Name[]= "Nume Server"
new const FirstWeaponNames[][][] =
{
	{ "", "", 0 },
	{ "AK47", "weapon_ak47", CSW_AK47 },
	{ "M4A1", "weapon_m4a1", CSW_M4A1 },
	{ "AWP", "weapon_awp", CSW_AWP },
	{ "FAMAS", "weapon_famas", CSW_FAMAS },
	{ "MP5", "weapon_mp5navy", CSW_MP5NAVY },
	{ "SCOUT", "weapon_scout", CSW_SCOUT },
	{ "GALIL", "weapon_galil", CSW_GALIL },
	{ "XM1014", "weapon_xm1014", CSW_XM1014 },
	{ "SG550   ", "weapon_sg550   ", CSW_SG550 },
	{ "SG552", "weapon_sg552", CSW_SG552 }
};

new const SecondaryWeaponNames[][][] =
{
	{ "", "", 0 },
	{ "DEAGLE", "weapon_deagle", CSW_DEAGLE },
	{ "USP", "weapon_usp", CSW_USP },
	{ "FIVESEVENT", "weapon_fiveseven", CSW_FIVESEVEN },
	{ "ELITE", "weapon_elite", CSW_ELITE },
	{ "GLOCK-18", "weapon_glock18", CSW_GLOCK18 }
};
public plugin_init() 
{
	RegisterHam(Ham_Spawn, "player", "PlayerSpawn", 1);
}
public PlayerSpawn(id) 
{
	if(!is_user_alive(id))
		return;
		
	Choosen[id] = 0;
	TakeWeapons(id);	
	give_item(id, "item_kevlar");
	give_item(id, "item_assaultsuit");
}

public TakeWeapons(id)
{
	if(is_user_alive(id))
	{
		Choosen[id] = 0;
		new HasC4;
		
		if(user_has_weapon(id, CSW_C4))
		{
			HasC4 = 1;
		}
		
		WeaponMenu(id);
		strip_user_weapons(id);
		give_item(id, "weapon_knife");
		
		if(HasC4 == 1)
		{
			give_item(id, "weapon_c4");
		}
		
		if(cs_get_user_team(id) == CS_TEAM_CT)
		{
			give_item(id, "item_thighpack");
		}
	}
	return PLUGIN_CONTINUE;
}
public WeaponMenu(id)
{
	if(Choosen[id] > 1)
		return;
		
	new String[128], Menu;
	
	if(Choosen[id] == 0)
	{
		formatex(String, 127, "%s \yArme Gratis",Name);
		Menu = menu_create(String, "WeaponMenuh");
		
		for(new i = 1; i < sizeof(FirstWeaponNames); i++)
		{
			new NumToString[6];
			num_to_str(i, NumToString, 5);
			formatex(String, charsmax(String), "%s", FirstWeaponNames[i][0]);
			menu_additem(Menu, String, NumToString);
		}
	}
	
	if(Choosen[id] == 1)
	{
		formatex(String, 127, "%s \yPistoale Gratis",Name);
		Menu = menu_create(String, "WeaponMenuh");
		
		for(new i = 1; i < sizeof(SecondaryWeaponNames); i++)
		{
			new NumToString[6];
			num_to_str(i, NumToString, 5);
			formatex(String, charsmax(String), "%s", SecondaryWeaponNames[i][0]);
			menu_additem(Menu, String, NumToString);
		}
	}
	
	menu_display(id, Menu);
}

public WeaponMenuh(id, Menu, Item)
{
	if(Item == MENU_EXIT)
	{
		menu_destroy(Menu);
		return;
	}
	
	new Data[14], Line[32];
	new Access, Callback;
	menu_item_getinfo(Menu, Item, Access, Data, charsmax(Data), Line, charsmax(Line), Callback);
	
	new x = str_to_num(Data);
	
	if(Choosen[id] == 0)
	{
		give_item(id, FirstWeaponNames[x][1]);
		cs_set_user_bpammo(id, FirstWeaponNames[x][2][0], 90);
	}
	if(Choosen[id] == 1)
	{
		give_item(id, SecondaryWeaponNames[x][1]);
		cs_set_user_bpammo(id, SecondaryWeaponNames[x][2][0], 90);
	}
		
	Choosen[id]++;
	
	if(Choosen[id] >= 2)
	{
		Grenades(id);
	}
		
	WeaponMenu(id);
}
stock Grenades(id)
{
	give_item(id, "weapon_hegrenade");
	give_item(id, "weapon_flashbang");
	give_item(id, "weapon_flashbang");
	give_item(id, "weapon_smokegrenade");
}
Daca vreti ceva da-ti add aici https://steamcommunity.com/id/assasinssmdfk/ lăsați un comentariu pe profil cu motivul cereri,altfel nu accept! :lips_kiss:
Post Reply

Return to “Cereri”

  • Information