Furien Weapons pe Credite (OutDated) - NO SUPORT!

Pluginuri pentru modul AmxModX.

Moderators: Moderatori ajutatori, Moderatori, Echipa eXtreamCS.com

Post Reply
User avatar
CristianG.
Membru, skill +1
Membru, skill +1
Posts: 265
Joined: 25 Jun 2013, 15:04
Detinator Steam: Nu
CS Status: CSA-PanelV3.4 UnderDev
Has thanked: 2 times
Been thanked: 4 times
Contact:

19 Sep 2014, 21:21

O fi prastie ! dar crezi ca nu se poate rescrie sau face ? cu putini modificari e gata de vanzare !

Si spunem cu toti nu exista pe net ca am modificat si eu ceva pe acolo serios, nu e vorba de prastie aici e vorba ca cred ca e destul cate lucruri am oferi utilizatorilor si cati bani le-am bagat in buzunare pe munca noastra !

Am specificat mai sus asta nu e faima si asta e o prostie asa si cu ask si restul.

Fara suparare dar lansarea unui plugin care sa fie facuta in echipa si desigur protejat cred ca ar fi cel mai indicat.

Asa se reduc vanzarile si tepele, cred a e destul in care vine x si y si copiaza modifica creditele si putin undeva si gata de vanzare si noi prosti muncim si noptiile sa il testam si sa il punem in functiune incat sa fie totul okey si apoi realizezi ca te lasi de CS si il postezi free nu e bine stiu ca poate am o mentalitate proasta dar pana la urma de ce sa profite toti de pe munca noastra si sa vanda in numele nostru !

Respect
CSAPanel Members 1.0 (Lista utilizatori seriosi/neseriosi) :
[*]Demo Project
[*]GitHub Project

CSA War System Engine Final 2.0.0 :
[*]Buy your own license!
Rapidserver
User avatar
*BoOoM*
Membru eXtream
Membru eXtream
Posts: 2039
Joined: 15 Jul 2014, 00:25
Detinator Steam: Da
CS Status: O dau prin praf :-j
Detinator server CS: Furien.BingBang.Ro
SteamID: booom_cs
Fond eXtream: 0
Been thanked: 2 times
Contact:

29 Sep 2014, 21:06

Frumos, dar vechi :))
adyt7a006
Membru, skill +1
Membru, skill +1
Posts: 147
Joined: 08 Sep 2014, 00:49
Detinator Steam: Da
SteamID: /id/Maffw
Fond eXtream: 0
Has thanked: 1 time
Contact:

16 Oct 2014, 21:37

Nu merge,am facut totul cum spui si nu apare meniul la anti-furieni.
User avatar
*BoOoM*
Membru eXtream
Membru eXtream
Posts: 2039
Joined: 15 Jul 2014, 00:25
Detinator Steam: Da
CS Status: O dau prin praf :-j
Detinator server CS: Furien.BingBang.Ro
SteamID: booom_cs
Fond eXtream: 0
Been thanked: 2 times
Contact:

17 Oct 2014, 00:56

adyt7a006 wrote:Nu merge,am facut totul cum spui si nu apare meniul la anti-furieni.
Ia-ti altul, asta e NO SUPORT [ e vezhi..]
User avatar
^ionutz^
Fost moderator
Fost moderator
Posts: 2000
Joined: 05 Oct 2013, 14:12
Detinator Steam: Da
CS Status: activitate scazuta !
SteamID: /id/ionutz_cs/
Reputatie: Fost moderator ajutator
Location: Galati
Has thanked: 46 times
Been thanked: 23 times
Contact:

17 Oct 2014, 20:18

adyt7a006 wrote:Nu merge,am facut totul cum spui si nu apare meniul la anti-furieni.
Vezi semnatura
Florinutzu21
Membru, skill 0
Membru, skill 0
Posts: 75
Joined: 27 Jul 2014, 15:06
Detinator Steam: Nu
CS Status: Furien MOD !
Fond eXtream: 0
Location: In urzici :)
Has thanked: 1 time
Contact:

26 Oct 2014, 14:22

Am o problema , mie nu imi merge pluginu asta imi da doar alt knife..
User avatar
evanescencedany
Membru, skill 0
Membru, skill 0
Posts: 78
Joined: 24 Dec 2014, 10:58
Detinator Steam: Nu
Detinator server CS: FURYEN.CS1.RO
Fond eXtream: 0
Location: Iasi
Contact:

05 Jan 2015, 18:02

gg.. ce sa zic. Eu nu iau acest plugin ca vreau ca sv-ul meu sa fie original :D
Nu fiti copiatori, fit originali. Doar asa veti capata respect si onoare.
Rio*
Membru, skill 0
Membru, skill 0
Posts: 62
Joined: 01 Mar 2015, 12:41
Detinator Steam: Nu
CS Status: Citesc forumul eXtreamCS.com...!
Fond eXtream: 0
Contact:

10 Mar 2015, 22:48

Pe bani nu merge facut?
phpBB [media]
TrrrQ
Fost moderator
Fost moderator
Posts: 2597
Joined: 04 Feb 2013, 00:31
Detinator Steam: Da
Reputatie: Membru Club eXtreamCS (3 luni)
Restrictie moderator!
Unban achitat (x2)
Fost moderator
Fond eXtream: 8
Has thanked: 135 times
Been thanked: 67 times
Contact:

12 Mar 2015, 08:51

Rio* wrote:Pe bani nu merge facut?
testează. dacă merge schimbăm apoi sumele de bani
Sursa:
| Afiseaza codul
/* Plugin generated by AMXX-Studio */

#include < amxmodx >
#include < amxmisc >
#include < fakemeta >
#include < fun >
#include < cstrike >
#include < hamsandwich >
#include < CC_ColorChat >
#include < CSO >

#define PLUGIN "Anti - Furien [ Weapons Menu ]"
#define VERSION "1.0"
#define AUTHOR "DaNe"

#define is_valid_player(%1) (1 <= %1 <= 32)

#define VIP_FLAG ADMIN_LEVEL_H

/*=====================================================================================
================================[ Arme Golden Pentru VIP ] ==================================
======================================================================================*/
new const vGoldenAk[ 64 ] = "models/Furien_VIP/v_golden_ak47.mdl"
new const pGoldenAk[ 64 ] = "models/Furien_VIP/p_golden_ak47.mdl"

new const vGoldenM4[ 64 ] = "models/Furien_VIP/v_golden_m4a1.mdl"
new const pGoldenM4[ 64 ] = "models/Furien_VIP/p_golden_m4a1.mdl"

new const vGoldenMP5[ 64 ] = "models/Furien_VIP/v_golden_mp5.mdl"
new const pGoldenMP5[ 64 ] = "models/Furien_VIP/p_golden_mp5.mdl"

new const vGoldenXM[ 64 ] = "models/Furien_VIP/v_golden_xm1014.mdl"
new const pGoldenXM[ 64 ] = "models/Furien_VIP/p_golden_xm1014.mdl"

new const vAreFatala[ 64 ] = "models/v_m134.mdl"
new const pAreFatala[ 64 ] = "models/p_m134.mdl"


new bool: AlreadyChoose[ 33 ]
new bool: AreGoldenAK[ 33 ]
new bool: AreGoldenM4[ 33 ]
new bool: AreGoldenMP5[ 33 ]
new bool: AreGoldenXM[ 33 ]
new bool: AreFatala[ 33 ]


public plugin_init( ) {
	register_plugin( PLUGIN, VERSION, AUTHOR )
	
	register_event( "CurWeapon", "Event_CurWeapon", "be", "1=1" )
	
	RegisterHam( Ham_Spawn, "player", "fwPlayerSpawn", true )
	RegisterHam( Ham_TakeDamage, "player", "fwTakeDamage" )
	
	register_clcmd( "say /weapons", "ClcmdWeaponsMenus" )
}

public plugin_precache( ) 
{
	precache_model( vGoldenAk )
	precache_model( pGoldenAk )
	precache_model( vGoldenM4 )
	precache_model( pGoldenM4 )
	precache_model( vGoldenMP5 )
	precache_model( pGoldenMP5 )
	precache_model( vGoldenXM )
	precache_model( pGoldenXM )
	precache_model( vAreFatala )
	precache_model( pAreFatala )
}

public fwPlayerSpawn( id ) 
{
	if(is_valid_player(id) && is_user_alive(id))
	{
		give_item ( id, "weapon_knife" );
		AreGoldenAK[ id ] = false
		AreGoldenM4[ id ] = false
		AreGoldenMP5[ id ] = false
		AreGoldenXM[ id ] = false
		AlreadyChoose[ id ] = false
		
		if( is_user_alive( id ) && cs_get_user_team( id ) == CS_TEAM_CT ) 
		{
			ShowWeaponsMenu( id )
			give_item( id, "weapon_usp" )
			cs_set_user_bpammo( id, CSW_USP, 200 )
		}
	}
}

public ShowWeaponsMenu( id ) 
{
	new FurienWeaponsMenu = menu_create( "\yAnti-Furien\r Weapons", "FurienWeaponsHandler" )
	new imoney = fcs_get_user_money( id );
	
	menu_additem( FurienWeaponsMenu, "Hunter\y Weapons", "1", 0 )
	menu_additem( FurienWeaponsMenu, "\rV.I.P \wWeapons^n", "2", 0 )
	
	
	/******************************************| Deadly Gun |*******************************************************/	
	
	if( imoney < 25 ) 
	{
		menu_additem( FurienWeaponsMenu, "\rDeadly \yGun\y - \dNo money", "3", 0 )
	}
	else if( imoney >= 25 ) 
	{
		menu_additem( FurienWeaponsMenu, "\rDeadly \yGun\y - \w[ \y25 \wmoney ]", "3", 0 )
	}
	
	/******************************************| Deadly End |*******************************************************/
	
	/******************************************| Balrog Gun |*******************************************************/	
	
	if( imoney < 35 ) 
	{
		menu_additem( FurienWeaponsMenu, "\rBalrog \y11 - \dNo money", "4", 0 )
	}
	else if( imoney >= 35 ) 
	{
		menu_additem( FurienWeaponsMenu, "\rBalrog \y11 - \w[ \r35 \wmoney ]", "4", 0 )
	}
	
	/******************************************| Balrog End |*******************************************************/
	
	/******************************************| Gatling Gun |*******************************************************/
	
	if( imoney < 45 ) 
	{
		menu_additem( FurienWeaponsMenu, "\rGatling \yVulcano\y - \dNo money", "5", 0 )
	}
	else if( imoney >= 45 ) 
	{
		menu_additem( FurienWeaponsMenu, "\rGatling \yVulcano\y - \w[ \y45 \wmoney ]", "5", 0 )
	}
	
	/******************************************| Gatling End |*******************************************************/
	
	/******************************************| Laser Gun |*******************************************************/	
	
	if( imoney < 55 ) 
	{
		menu_additem( FurienWeaponsMenu, "\rPlasma \yGun - \dNo money", "6", 0 )
	}
	else if( imoney >= 45 )
	{
		menu_additem( FurienWeaponsMenu, "\rPlasma \yGun - \w[ \r55 \wmoney ]", "6", 0 )
	}
	
	/******************************************| Laser End |*******************************************************/
	
	menu_setprop( FurienWeaponsMenu, MPROP_EXIT, MEXIT_ALL )
	menu_display( id, FurienWeaponsMenu, 0 )
}

public FurienWeaponsHandler( id, FurienWeaponsMenu, item ) 
{
	if ( get_user_team ( id ) != 2 ) return 1;
	
	if( item == MENU_EXIT ) 
	{
		menu_destroy( FurienWeaponsMenu )
		return PLUGIN_HANDLED
	}
	
	switch( item ) 
	{
		case 0 : 
		{
			ArmeNormale( id ) 
		}
		case 1 : 
		{
			if( get_user_flags( id ) & VIP_FLAG ) 
			{
				ArmeVIP( id ) 
			}
			else 
			{
				ColorChat( id, GREEN, "^x01[^x04 Furien Weapons^x01 ] These weapons is only for^x04 V.I.P." )
				ShowWeaponsMenu( id )
				return PLUGIN_HANDLED 
			}
		}
		
		case 2 : 
		{
			new imoney = fcs_get_user_money(id) - 25;
			if( imoney < 0 )
			{
				ColorChat ( id, GREEN, "^x01[^x04 Furien Weapons^x01 ] You don't have enough money." );
				ShowWeaponsMenu( id )
				return 1;
			}
			else
			{
				give_item( id, "weapon_m249" )
				cs_set_user_bpammo( id, CSW_M249, 400 )
				set_pev( id, pev_viewmodel2, vAreFatala )
				set_pev( id, pev_weaponmodel2, pAreFatala )
				AlreadyChoose[ id ] = true
				set_task( 0.1, "ShowSecondary", id )
				AreFatala[ id ] = true
			}
		}
		
		case 3 : 
		{
			new imoney = fcs_get_user_money(id) - 35;
			if( imoney < 0 )
			{
				ColorChat ( id, GREEN, "^x01[^x04 Furien Weapons^x01 ] You haven't enough^x04 money." );
				ShowWeaponsMenu( id )
				return 1;
			}
			else
			{
				fcs_set_user_money  ( id, imoney );
				give_weapon_balrog11 ( id );
				AlreadyChoose[ id ] = true
				set_task( 0.1, "ShowSecondary", id )
				ColorChat ( id, GREEN, "^x01[^x04 Furien Weapons^x01 ] You've bought^x04 Balrog 11." );
			}
		}
		
		case 4 : 
		{
			new imoney = fcs_get_user_money(id) - 45;
			if( imoney < 0 )
			{
				ColorChat ( id, GREEN, "^x01[^x04 Furien Weapons^x01 ] You haven't enough^x04 money." );
				ShowWeaponsMenu( id )
				return 1;
			}
			else
			{
				fcs_set_user_money  ( id, imoney );
				give_weapon_gatling ( id );
				AlreadyChoose[ id ] = true
				set_task( 0.1, "ShowSecondary", id )
				ColorChat ( id, GREEN, "^x01[^x04 Furien Weapons^x01 ] You've bought^x04 Gatling Vulcano." );
			}
		}
		
		case 5 : 
		{
			new imoney = fcs_get_user_money(id) - 55;
			if( imoney < 0 )
			{
				ColorChat ( id, GREEN, "^x01[^x04 Furien Weapons^x01 ] You haven't enough^x04 money." );
				ShowWeaponsMenu( id )
				return 1;
			}
			else
			{
				fcs_set_user_money  ( id, imoney );
				give_weapon_plasmagun ( id )
				AlreadyChoose[ id ] = true
				set_task( 0.1, "ShowSecondary", id )
				ColorChat ( id, GREEN, "^x01[^x04 Furien Weapons^x01 ] You've bought^x04 Laser Gun." );
			}
		}
		
	}
	menu_destroy( FurienWeaponsMenu )
	return PLUGIN_HANDLED
}

public ArmeNormale( id ) 
{
	
	new MeniuArmeNormale = menu_create( "\yHunter \rWeapons", "ArmeNormaleHandler" )
	
	menu_additem( MeniuArmeNormale, "Ak47", "1", 0 )
	menu_additem( MeniuArmeNormale, "M4a1", "2", 0 )
	menu_additem( MeniuArmeNormale, "MP5", "3", 0 )
	menu_additem( MeniuArmeNormale, "XM1014", "4", 0 )
	menu_additem( MeniuArmeNormale, "P90", "5", 0 )
	
	menu_setprop( MeniuArmeNormale, MPROP_EXIT, MEXIT_ALL )
	menu_display( id, MeniuArmeNormale, 0 )
}

public ArmeNormaleHandler( id, MeniuArmeNormale, item ) 
{
	if( !is_user_alive( id ) ) 
	{
		ColorChat( id, GREEN, "^x01[^x04 Furien Weapons^x01 ] You can't select your weapons when you're dead!" )
		return PLUGIN_HANDLED
	}
	
	if( item == MENU_EXIT ) 
	{
		menu_destroy( MeniuArmeNormale )
		return PLUGIN_HANDLED 
	}
	
	switch( item ) 
	{
		case 0 : 
		{
			give_item( id, "weapon_ak47" )
			cs_set_user_bpammo( id, CSW_AK47, 300 )
			set_task( 0.1, "ShowSecondary", id )
			AlreadyChoose[ id ] = true
		}
		case 1 : 
		{
			give_item( id, "weapon_m4a1" )
			cs_set_user_bpammo( id, CSW_M4A1, 300 )
			set_task( 0.1, "ShowSecondary", id )
			AlreadyChoose[ id ] = true
		}
		case 2 : 
		{
			give_item( id, "weapon_mp5navy" )
			cs_set_user_bpammo( id, CSW_MP5NAVY, 300 )
			set_task( 0.1, "ShowSecondary", id )
			AlreadyChoose[ id ] = true
		}
		case 3 : 
		{
			give_item( id, "weapon_xm1014" )
			cs_set_user_bpammo( id, CSW_XM1014, 300 )
			set_task( 0.1, "ShowSecondary", id )
			AlreadyChoose[ id ] = true
		}
		case 4 : 
		{
			give_item( id, "weapon_p90" )
			cs_set_user_bpammo( id, CSW_P90, 300 )
			set_task( 0.1, "ShowSecondary", id )
			AlreadyChoose[ id ] = true
		}
	}
	menu_destroy( MeniuArmeNormale )
	return PLUGIN_HANDLED
}

public ArmeVIP( id ) {
	new MeniuArmeVIP = menu_create( "\yArme \r*\w V\r.\wI\r.\wP\r *", "ArmeVIPHandler" )
	
	menu_additem( MeniuArmeVIP, "Golden AK47\r  (\y3x DMG\r)", "1", 0 )
	menu_additem( MeniuArmeVIP, "Golden M4A1\r (\y4x DMG\r)", "2", 0 )
	menu_additem( MeniuArmeVIP, "Golden MP5\r   (\y5x DMG\r)", "3", 0 )
	menu_additem( MeniuArmeVIP, "Golden Xm1014\r   (\y4x DMG\r)", "4", 0 )
	
	menu_setprop( MeniuArmeVIP, MPROP_EXIT, MEXIT_ALL )
	menu_display( id, MeniuArmeVIP, 0 )
}

public ArmeVIPHandler( id, MeniuArmeVIP, item ) 
{
	if( !is_user_alive( id ) ) 
	{
		ColorChat( id, GREEN, "^x01[^x04 Furien Weapons^x01 ] You can't select your weapons when you're dead!" )
		return PLUGIN_HANDLED
	}
	
	if( item == MENU_EXIT ) 
	{
		menu_destroy( MeniuArmeVIP )
		return PLUGIN_HANDLED
	}
	
	switch( item ) 
	{
		case 0 : 
		{
			give_item( id, "weapon_ak47" )
			cs_set_user_bpammo( id, CSW_AK47, 90 )
			set_pev( id, pev_viewmodel2, vGoldenAk )
			set_pev( id, pev_weaponmodel2, pGoldenAk )
			set_task( 0.1, "ShowSecondary", id )
			AlreadyChoose[ id ] = true
			AreGoldenAK[ id ] = true
		}
		case 1 : 
		{
			give_item( id, "weapon_m4a1" )
			cs_set_user_bpammo( id, CSW_M4A1, 90 )
			set_pev( id, pev_viewmodel2, vGoldenM4 )
			set_pev( id, pev_weaponmodel2, pGoldenM4 )
			set_task( 0.1, "ShowSecondary", id )
			AlreadyChoose[ id ] = true
			AreGoldenM4[ id ] = true
		}
		case 2 : 
		{
			give_item( id, "weapon_mp5navy" )
			cs_set_user_bpammo( id, CSW_MP5NAVY, 120 )
			set_pev( id, pev_viewmodel2, vGoldenMP5 )
			set_pev( id, pev_weaponmodel2, pGoldenMP5 )
			set_task( 0.1, "ShowSecondary", id )
			AlreadyChoose[ id ] = true
			AreGoldenMP5[ id ] = true
		}
		case 3 : 
		{
			give_item( id, "weapon_xm1014" )
			cs_set_user_bpammo( id, CSW_XM1014, 300 )
			set_pev( id, pev_viewmodel2, vGoldenXM )
			set_pev( id, pev_weaponmodel2, pGoldenXM )
			set_task( 0.1, "ShowSecondary", id )
			AlreadyChoose[ id ] = true
			AreGoldenXM[ id ] = true
		}
	}
	menu_destroy( MeniuArmeVIP )
	return PLUGIN_HANDLED
}

public ClcmdWeaponsMenus( id ) 
{
	if( !is_user_alive( id ) ) 
	{
		ColorChat( id, GREEN, "^x01[^x04 Furien Weapons^x01 ] You can't select your weapons when you're dead!" )
		return 
	}
	
	if( AlreadyChoose[ id ] ) 
	{
		ColorChat( id, GREEN, "^x01[^x04 Furien Weapons^x01 ] You select your weapons in this round" )
		return 
	}
	
	if( cs_get_user_team( id ) == CS_TEAM_CT ) 
	{
		ShowWeaponsMenu( id )
	}
}

public Event_CurWeapon( id ) 
{
	new Arma = read_data( 2 )
	
	if( Arma == CSW_AK47 && AreGoldenAK[ id ] ) 
	{
		set_pev( id, pev_viewmodel2, vGoldenAk )
		set_pev( id, pev_weaponmodel2, pGoldenAk )
	}
	
	if( Arma == CSW_M4A1 && AreGoldenM4[ id ] ) 
	{
		set_pev( id, pev_viewmodel2, vGoldenM4 )
		set_pev( id, pev_weaponmodel2, pGoldenM4 )
	}
	
	if( Arma == CSW_MP5NAVY && AreGoldenMP5[ id ] ) 
	{
		set_pev( id, pev_viewmodel2, vGoldenMP5 )
		set_pev( id, pev_weaponmodel2, pGoldenMP5 )
	}
	
	if( Arma == CSW_XM1014 && AreGoldenXM[ id ] ) 
	{
		set_pev( id, pev_viewmodel2, vGoldenXM )
		set_pev( id, pev_weaponmodel2, pGoldenXM )
	}
	if( Arma == CSW_M249 && AreFatala[ id ] ) 
	{
		set_pev( id, pev_viewmodel2, vAreFatala )
		set_pev( id, pev_weaponmodel2, pAreFatala )
	}
}

public Player_TakeDamage ( iVictim, iInflictor, iAttacker, Float:fDamage, iDamageBits ) 
{
	if( get_user_weapon( iAttacker ) == CSW_AK47 && AreGoldenAK[ iAttacker ] ) 
	{
		SetHamParamFloat( 4, fDamage * 3 )
	}
	
	if( get_user_weapon( iAttacker ) == CSW_M4A1 && AreGoldenM4[ iAttacker ] ) 
	{
		SetHamParamFloat( 4, fDamage * 3 )
	}
	
	if( get_user_weapon( iAttacker ) == CSW_MP5NAVY && AreGoldenMP5[ iAttacker ] ) 
	{
		SetHamParamFloat( 4, fDamage * 3.2 )
	}
	
	if( get_user_weapon( iAttacker) == CSW_XM1014 && AreGoldenXM[ iAttacker ] ) 
	{
		SetHamParamFloat( 4, fDamage * 3 )
	}
	if( get_user_weapon( iAttacker) == CSW_M249 && AreFatala[ iAttacker ] ) 
	{
		SetHamParamFloat( 4, fDamage * 3.3 )
	}
}

public ShowSecondary( id ) {
	new MeniuSecondary = menu_create( "\r* \wChoose Secondary Weapons \r* ", "CSOSecondGiver" )
	
	menu_additem( MeniuSecondary, "Dual Deagle", "1", 0 )
	menu_additem( MeniuSecondary, "Dual Infinity", "2", 0 )
	
	menu_setprop( MeniuSecondary, MPROP_EXIT, MEXIT_ALL )
	menu_display( id, MeniuSecondary, 0 )
}

public CSOSecondGiver( id, MeniuSecondary, item ) 
{
	if ( get_user_team ( id ) != 2 ) return 1;
	
	if( !is_user_alive( id ) ) 
	{
		ColorChat( id, GREEN, "^x01[^x04 Furien Weapons^x01 ] You can't select your weapons when you're dead!" )
		return PLUGIN_HANDLED
	}
	
	if( item == MENU_EXIT ) 
	{
		menu_destroy( MeniuSecondary )
		return PLUGIN_HANDLED
	}
	
	switch( item ) 
	{
		case 0 : 
		{
			give_weapon_ddeagle ( id )
			AlreadyChoose[ id ] = true;
		}
		case 1 :
		{
			give_dual_infinity( id )
			AlreadyChoose[ id ] = true;
		}
	}
	menu_destroy( MeniuSecondary )
	return PLUGIN_HANDLED
}


/***************************************************************************************************************
*					*********************************
*					----- Ultimate Weapons Menu -----
*					*********************************		
*
*
*
*		--------------------
*		----- Credite: -----
*		--------------------
*		- Tr3fla
*
***************************************************************************************************************/
ai nevoie de include acesta pentru a compila: (îl numești CSO.inc )
| Afiseaza codul
native give_dual_infinity( id )
native give_weapon_ddeagle ( id )
native give_weapon_plasmagun ( id )
native give_weapon_gatling ( id )
native give_weapon_balrog11 ( id )
native cyby_set_w2 ( id )
native give_weapon_canon (id)
native set_user_ethereal(id)
native get_user_souls ( id )  
native set_user_souls ( id, cantitate )
native fcs_get_user_money ( id )  
native fcs_set_user_money ( id, cantitate )
Filme Online HD subtitrate fără reclame automate: https://filmeonline-hd.com
Prezentarea site-ului: https://www.youtube.com/watch?v=k4K3tgEkYjw
User avatar
50Cent # HackeR
Membru, skill +2
Membru, skill +2
Posts: 756
Joined: 10 Oct 2015, 15:05
Detinator Steam: Da
CS Status: CS GO This Good Game =]]
Detinator server CS: N-am asa ceva ? =]]
SteamID: 50Cent # HackeR
Reputatie: Castigator Membru CLUB eXtream @ Mos Nicolae (4 luni)
Restrictie mesaje private
Fond eXtream: 0
Location: Caras-Severin-Resita
Contact:

13 Oct 2015, 11:38

TrrrQ wrote:
Rio* wrote:Pe bani nu merge facut?
testează. dacă merge schimbăm apoi sumele de bani
Sursa:
| Afiseaza codul
/* Plugin generated by AMXX-Studio */

#include < amxmodx >
#include < amxmisc >
#include < fakemeta >
#include < fun >
#include < cstrike >
#include < hamsandwich >
#include < CC_ColorChat >
#include < CSO >

#define PLUGIN "Anti - Furien [ Weapons Menu ]"
#define VERSION "1.0"
#define AUTHOR "DaNe"

#define is_valid_player(%1) (1 <= %1 <= 32)

#define VIP_FLAG ADMIN_LEVEL_H

/*=====================================================================================
================================[ Arme Golden Pentru VIP ] ==================================
======================================================================================*/
new const vGoldenAk[ 64 ] = "models/Furien_VIP/v_golden_ak47.mdl"
new const pGoldenAk[ 64 ] = "models/Furien_VIP/p_golden_ak47.mdl"

new const vGoldenM4[ 64 ] = "models/Furien_VIP/v_golden_m4a1.mdl"
new const pGoldenM4[ 64 ] = "models/Furien_VIP/p_golden_m4a1.mdl"

new const vGoldenMP5[ 64 ] = "models/Furien_VIP/v_golden_mp5.mdl"
new const pGoldenMP5[ 64 ] = "models/Furien_VIP/p_golden_mp5.mdl"

new const vGoldenXM[ 64 ] = "models/Furien_VIP/v_golden_xm1014.mdl"
new const pGoldenXM[ 64 ] = "models/Furien_VIP/p_golden_xm1014.mdl"

new const vAreFatala[ 64 ] = "models/v_m134.mdl"
new const pAreFatala[ 64 ] = "models/p_m134.mdl"


new bool: AlreadyChoose[ 33 ]
new bool: AreGoldenAK[ 33 ]
new bool: AreGoldenM4[ 33 ]
new bool: AreGoldenMP5[ 33 ]
new bool: AreGoldenXM[ 33 ]
new bool: AreFatala[ 33 ]


public plugin_init( ) {
	register_plugin( PLUGIN, VERSION, AUTHOR )
	
	register_event( "CurWeapon", "Event_CurWeapon", "be", "1=1" )
	
	RegisterHam( Ham_Spawn, "player", "fwPlayerSpawn", true )
	RegisterHam( Ham_TakeDamage, "player", "fwTakeDamage" )
	
	register_clcmd( "say /weapons", "ClcmdWeaponsMenus" )
}

public plugin_precache( ) 
{
	precache_model( vGoldenAk )
	precache_model( pGoldenAk )
	precache_model( vGoldenM4 )
	precache_model( pGoldenM4 )
	precache_model( vGoldenMP5 )
	precache_model( pGoldenMP5 )
	precache_model( vGoldenXM )
	precache_model( pGoldenXM )
	precache_model( vAreFatala )
	precache_model( pAreFatala )
}

public fwPlayerSpawn( id ) 
{
	if(is_valid_player(id) && is_user_alive(id))
	{
		give_item ( id, "weapon_knife" );
		AreGoldenAK[ id ] = false
		AreGoldenM4[ id ] = false
		AreGoldenMP5[ id ] = false
		AreGoldenXM[ id ] = false
		AlreadyChoose[ id ] = false
		
		if( is_user_alive( id ) && cs_get_user_team( id ) == CS_TEAM_CT ) 
		{
			ShowWeaponsMenu( id )
			give_item( id, "weapon_usp" )
			cs_set_user_bpammo( id, CSW_USP, 200 )
		}
	}
}

public ShowWeaponsMenu( id ) 
{
	new FurienWeaponsMenu = menu_create( "\yAnti-Furien\r Weapons", "FurienWeaponsHandler" )
	new imoney = fcs_get_user_money( id );
	
	menu_additem( FurienWeaponsMenu, "Hunter\y Weapons", "1", 0 )
	menu_additem( FurienWeaponsMenu, "\rV.I.P \wWeapons^n", "2", 0 )
	
	
	/******************************************| Deadly Gun |*******************************************************/	
	
	if( imoney < 25 ) 
	{
		menu_additem( FurienWeaponsMenu, "\rDeadly \yGun\y - \dNo money", "3", 0 )
	}
	else if( imoney >= 25 ) 
	{
		menu_additem( FurienWeaponsMenu, "\rDeadly \yGun\y - \w[ \y25 \wmoney ]", "3", 0 )
	}
	
	/******************************************| Deadly End |*******************************************************/
	
	/******************************************| Balrog Gun |*******************************************************/	
	
	if( imoney < 35 ) 
	{
		menu_additem( FurienWeaponsMenu, "\rBalrog \y11 - \dNo money", "4", 0 )
	}
	else if( imoney >= 35 ) 
	{
		menu_additem( FurienWeaponsMenu, "\rBalrog \y11 - \w[ \r35 \wmoney ]", "4", 0 )
	}
	
	/******************************************| Balrog End |*******************************************************/
	
	/******************************************| Gatling Gun |*******************************************************/
	
	if( imoney < 45 ) 
	{
		menu_additem( FurienWeaponsMenu, "\rGatling \yVulcano\y - \dNo money", "5", 0 )
	}
	else if( imoney >= 45 ) 
	{
		menu_additem( FurienWeaponsMenu, "\rGatling \yVulcano\y - \w[ \y45 \wmoney ]", "5", 0 )
	}
	
	/******************************************| Gatling End |*******************************************************/
	
	/******************************************| Laser Gun |*******************************************************/	
	
	if( imoney < 55 ) 
	{
		menu_additem( FurienWeaponsMenu, "\rPlasma \yGun - \dNo money", "6", 0 )
	}
	else if( imoney >= 45 )
	{
		menu_additem( FurienWeaponsMenu, "\rPlasma \yGun - \w[ \r55 \wmoney ]", "6", 0 )
	}
	
	/******************************************| Laser End |*******************************************************/
	
	menu_setprop( FurienWeaponsMenu, MPROP_EXIT, MEXIT_ALL )
	menu_display( id, FurienWeaponsMenu, 0 )
}

public FurienWeaponsHandler( id, FurienWeaponsMenu, item ) 
{
	if ( get_user_team ( id ) != 2 ) return 1;
	
	if( item == MENU_EXIT ) 
	{
		menu_destroy( FurienWeaponsMenu )
		return PLUGIN_HANDLED
	}
	
	switch( item ) 
	{
		case 0 : 
		{
			ArmeNormale( id ) 
		}
		case 1 : 
		{
			if( get_user_flags( id ) & VIP_FLAG ) 
			{
				ArmeVIP( id ) 
			}
			else 
			{
				ColorChat( id, GREEN, "^x01[^x04 Furien Weapons^x01 ] These weapons is only for^x04 V.I.P." )
				ShowWeaponsMenu( id )
				return PLUGIN_HANDLED 
			}
		}
		
		case 2 : 
		{
			new imoney = fcs_get_user_money(id) - 25;
			if( imoney < 0 )
			{
				ColorChat ( id, GREEN, "^x01[^x04 Furien Weapons^x01 ] You don't have enough money." );
				ShowWeaponsMenu( id )
				return 1;
			}
			else
			{
				give_item( id, "weapon_m249" )
				cs_set_user_bpammo( id, CSW_M249, 400 )
				set_pev( id, pev_viewmodel2, vAreFatala )
				set_pev( id, pev_weaponmodel2, pAreFatala )
				AlreadyChoose[ id ] = true
				set_task( 0.1, "ShowSecondary", id )
				AreFatala[ id ] = true
			}
		}
		
		case 3 : 
		{
			new imoney = fcs_get_user_money(id) - 35;
			if( imoney < 0 )
			{
				ColorChat ( id, GREEN, "^x01[^x04 Furien Weapons^x01 ] You haven't enough^x04 money." );
				ShowWeaponsMenu( id )
				return 1;
			}
			else
			{
				fcs_set_user_money  ( id, imoney );
				give_weapon_balrog11 ( id );
				AlreadyChoose[ id ] = true
				set_task( 0.1, "ShowSecondary", id )
				ColorChat ( id, GREEN, "^x01[^x04 Furien Weapons^x01 ] You've bought^x04 Balrog 11." );
			}
		}
		
		case 4 : 
		{
			new imoney = fcs_get_user_money(id) - 45;
			if( imoney < 0 )
			{
				ColorChat ( id, GREEN, "^x01[^x04 Furien Weapons^x01 ] You haven't enough^x04 money." );
				ShowWeaponsMenu( id )
				return 1;
			}
			else
			{
				fcs_set_user_money  ( id, imoney );
				give_weapon_gatling ( id );
				AlreadyChoose[ id ] = true
				set_task( 0.1, "ShowSecondary", id )
				ColorChat ( id, GREEN, "^x01[^x04 Furien Weapons^x01 ] You've bought^x04 Gatling Vulcano." );
			}
		}
		
		case 5 : 
		{
			new imoney = fcs_get_user_money(id) - 55;
			if( imoney < 0 )
			{
				ColorChat ( id, GREEN, "^x01[^x04 Furien Weapons^x01 ] You haven't enough^x04 money." );
				ShowWeaponsMenu( id )
				return 1;
			}
			else
			{
				fcs_set_user_money  ( id, imoney );
				give_weapon_plasmagun ( id )
				AlreadyChoose[ id ] = true
				set_task( 0.1, "ShowSecondary", id )
				ColorChat ( id, GREEN, "^x01[^x04 Furien Weapons^x01 ] You've bought^x04 Laser Gun." );
			}
		}
		
	}
	menu_destroy( FurienWeaponsMenu )
	return PLUGIN_HANDLED
}

public ArmeNormale( id ) 
{
	
	new MeniuArmeNormale = menu_create( "\yHunter \rWeapons", "ArmeNormaleHandler" )
	
	menu_additem( MeniuArmeNormale, "Ak47", "1", 0 )
	menu_additem( MeniuArmeNormale, "M4a1", "2", 0 )
	menu_additem( MeniuArmeNormale, "MP5", "3", 0 )
	menu_additem( MeniuArmeNormale, "XM1014", "4", 0 )
	menu_additem( MeniuArmeNormale, "P90", "5", 0 )
	
	menu_setprop( MeniuArmeNormale, MPROP_EXIT, MEXIT_ALL )
	menu_display( id, MeniuArmeNormale, 0 )
}

public ArmeNormaleHandler( id, MeniuArmeNormale, item ) 
{
	if( !is_user_alive( id ) ) 
	{
		ColorChat( id, GREEN, "^x01[^x04 Furien Weapons^x01 ] You can't select your weapons when you're dead!" )
		return PLUGIN_HANDLED
	}
	
	if( item == MENU_EXIT ) 
	{
		menu_destroy( MeniuArmeNormale )
		return PLUGIN_HANDLED 
	}
	
	switch( item ) 
	{
		case 0 : 
		{
			give_item( id, "weapon_ak47" )
			cs_set_user_bpammo( id, CSW_AK47, 300 )
			set_task( 0.1, "ShowSecondary", id )
			AlreadyChoose[ id ] = true
		}
		case 1 : 
		{
			give_item( id, "weapon_m4a1" )
			cs_set_user_bpammo( id, CSW_M4A1, 300 )
			set_task( 0.1, "ShowSecondary", id )
			AlreadyChoose[ id ] = true
		}
		case 2 : 
		{
			give_item( id, "weapon_mp5navy" )
			cs_set_user_bpammo( id, CSW_MP5NAVY, 300 )
			set_task( 0.1, "ShowSecondary", id )
			AlreadyChoose[ id ] = true
		}
		case 3 : 
		{
			give_item( id, "weapon_xm1014" )
			cs_set_user_bpammo( id, CSW_XM1014, 300 )
			set_task( 0.1, "ShowSecondary", id )
			AlreadyChoose[ id ] = true
		}
		case 4 : 
		{
			give_item( id, "weapon_p90" )
			cs_set_user_bpammo( id, CSW_P90, 300 )
			set_task( 0.1, "ShowSecondary", id )
			AlreadyChoose[ id ] = true
		}
	}
	menu_destroy( MeniuArmeNormale )
	return PLUGIN_HANDLED
}

public ArmeVIP( id ) {
	new MeniuArmeVIP = menu_create( "\yArme \r*\w V\r.\wI\r.\wP\r *", "ArmeVIPHandler" )
	
	menu_additem( MeniuArmeVIP, "Golden AK47\r  (\y3x DMG\r)", "1", 0 )
	menu_additem( MeniuArmeVIP, "Golden M4A1\r (\y4x DMG\r)", "2", 0 )
	menu_additem( MeniuArmeVIP, "Golden MP5\r   (\y5x DMG\r)", "3", 0 )
	menu_additem( MeniuArmeVIP, "Golden Xm1014\r   (\y4x DMG\r)", "4", 0 )
	
	menu_setprop( MeniuArmeVIP, MPROP_EXIT, MEXIT_ALL )
	menu_display( id, MeniuArmeVIP, 0 )
}

public ArmeVIPHandler( id, MeniuArmeVIP, item ) 
{
	if( !is_user_alive( id ) ) 
	{
		ColorChat( id, GREEN, "^x01[^x04 Furien Weapons^x01 ] You can't select your weapons when you're dead!" )
		return PLUGIN_HANDLED
	}
	
	if( item == MENU_EXIT ) 
	{
		menu_destroy( MeniuArmeVIP )
		return PLUGIN_HANDLED
	}
	
	switch( item ) 
	{
		case 0 : 
		{
			give_item( id, "weapon_ak47" )
			cs_set_user_bpammo( id, CSW_AK47, 90 )
			set_pev( id, pev_viewmodel2, vGoldenAk )
			set_pev( id, pev_weaponmodel2, pGoldenAk )
			set_task( 0.1, "ShowSecondary", id )
			AlreadyChoose[ id ] = true
			AreGoldenAK[ id ] = true
		}
		case 1 : 
		{
			give_item( id, "weapon_m4a1" )
			cs_set_user_bpammo( id, CSW_M4A1, 90 )
			set_pev( id, pev_viewmodel2, vGoldenM4 )
			set_pev( id, pev_weaponmodel2, pGoldenM4 )
			set_task( 0.1, "ShowSecondary", id )
			AlreadyChoose[ id ] = true
			AreGoldenM4[ id ] = true
		}
		case 2 : 
		{
			give_item( id, "weapon_mp5navy" )
			cs_set_user_bpammo( id, CSW_MP5NAVY, 120 )
			set_pev( id, pev_viewmodel2, vGoldenMP5 )
			set_pev( id, pev_weaponmodel2, pGoldenMP5 )
			set_task( 0.1, "ShowSecondary", id )
			AlreadyChoose[ id ] = true
			AreGoldenMP5[ id ] = true
		}
		case 3 : 
		{
			give_item( id, "weapon_xm1014" )
			cs_set_user_bpammo( id, CSW_XM1014, 300 )
			set_pev( id, pev_viewmodel2, vGoldenXM )
			set_pev( id, pev_weaponmodel2, pGoldenXM )
			set_task( 0.1, "ShowSecondary", id )
			AlreadyChoose[ id ] = true
			AreGoldenXM[ id ] = true
		}
	}
	menu_destroy( MeniuArmeVIP )
	return PLUGIN_HANDLED
}

public ClcmdWeaponsMenus( id ) 
{
	if( !is_user_alive( id ) ) 
	{
		ColorChat( id, GREEN, "^x01[^x04 Furien Weapons^x01 ] You can't select your weapons when you're dead!" )
		return 
	}
	
	if( AlreadyChoose[ id ] ) 
	{
		ColorChat( id, GREEN, "^x01[^x04 Furien Weapons^x01 ] You select your weapons in this round" )
		return 
	}
	
	if( cs_get_user_team( id ) == CS_TEAM_CT ) 
	{
		ShowWeaponsMenu( id )
	}
}

public Event_CurWeapon( id ) 
{
	new Arma = read_data( 2 )
	
	if( Arma == CSW_AK47 && AreGoldenAK[ id ] ) 
	{
		set_pev( id, pev_viewmodel2, vGoldenAk )
		set_pev( id, pev_weaponmodel2, pGoldenAk )
	}
	
	if( Arma == CSW_M4A1 && AreGoldenM4[ id ] ) 
	{
		set_pev( id, pev_viewmodel2, vGoldenM4 )
		set_pev( id, pev_weaponmodel2, pGoldenM4 )
	}
	
	if( Arma == CSW_MP5NAVY && AreGoldenMP5[ id ] ) 
	{
		set_pev( id, pev_viewmodel2, vGoldenMP5 )
		set_pev( id, pev_weaponmodel2, pGoldenMP5 )
	}
	
	if( Arma == CSW_XM1014 && AreGoldenXM[ id ] ) 
	{
		set_pev( id, pev_viewmodel2, vGoldenXM )
		set_pev( id, pev_weaponmodel2, pGoldenXM )
	}
	if( Arma == CSW_M249 && AreFatala[ id ] ) 
	{
		set_pev( id, pev_viewmodel2, vAreFatala )
		set_pev( id, pev_weaponmodel2, pAreFatala )
	}
}

public Player_TakeDamage ( iVictim, iInflictor, iAttacker, Float:fDamage, iDamageBits ) 
{
	if( get_user_weapon( iAttacker ) == CSW_AK47 && AreGoldenAK[ iAttacker ] ) 
	{
		SetHamParamFloat( 4, fDamage * 3 )
	}
	
	if( get_user_weapon( iAttacker ) == CSW_M4A1 && AreGoldenM4[ iAttacker ] ) 
	{
		SetHamParamFloat( 4, fDamage * 3 )
	}
	
	if( get_user_weapon( iAttacker ) == CSW_MP5NAVY && AreGoldenMP5[ iAttacker ] ) 
	{
		SetHamParamFloat( 4, fDamage * 3.2 )
	}
	
	if( get_user_weapon( iAttacker) == CSW_XM1014 && AreGoldenXM[ iAttacker ] ) 
	{
		SetHamParamFloat( 4, fDamage * 3 )
	}
	if( get_user_weapon( iAttacker) == CSW_M249 && AreFatala[ iAttacker ] ) 
	{
		SetHamParamFloat( 4, fDamage * 3.3 )
	}
}

public ShowSecondary( id ) {
	new MeniuSecondary = menu_create( "\r* \wChoose Secondary Weapons \r* ", "CSOSecondGiver" )
	
	menu_additem( MeniuSecondary, "Dual Deagle", "1", 0 )
	menu_additem( MeniuSecondary, "Dual Infinity", "2", 0 )
	
	menu_setprop( MeniuSecondary, MPROP_EXIT, MEXIT_ALL )
	menu_display( id, MeniuSecondary, 0 )
}

public CSOSecondGiver( id, MeniuSecondary, item ) 
{
	if ( get_user_team ( id ) != 2 ) return 1;
	
	if( !is_user_alive( id ) ) 
	{
		ColorChat( id, GREEN, "^x01[^x04 Furien Weapons^x01 ] You can't select your weapons when you're dead!" )
		return PLUGIN_HANDLED
	}
	
	if( item == MENU_EXIT ) 
	{
		menu_destroy( MeniuSecondary )
		return PLUGIN_HANDLED
	}
	
	switch( item ) 
	{
		case 0 : 
		{
			give_weapon_ddeagle ( id )
			AlreadyChoose[ id ] = true;
		}
		case 1 :
		{
			give_dual_infinity( id )
			AlreadyChoose[ id ] = true;
		}
	}
	menu_destroy( MeniuSecondary )
	return PLUGIN_HANDLED
}


/***************************************************************************************************************
*					*********************************
*					----- Ultimate Weapons Menu -----
*					*********************************		
*
*
*
*		--------------------
*		----- Credite: -----
*		--------------------
*		- Tr3fla
*
***************************************************************************************************************/
ai nevoie de include acesta pentru a compila: (îl numești CSO.inc )
| Afiseaza codul
native give_dual_infinity( id )
native give_weapon_ddeagle ( id )
native give_weapon_plasmagun ( id )
native give_weapon_gatling ( id )
native give_weapon_balrog11 ( id )
native cyby_set_w2 ( id )
native give_weapon_canon (id)
native set_user_ethereal(id)
native get_user_souls ( id )  
native set_user_souls ( id, cantitate )
native fcs_get_user_money ( id )  
native fcs_set_user_money ( id, cantitate )
Defapt trebe asa..

Code: Select all

new iMoney = cs_get_user_money( id );
>

Code: Select all

new iMoney = cs_get_user_money(id) - Suma...;
			if( imoney < 0 )
			{
User avatar
Spikee.
Membru, skill 0
Membru, skill 0
Posts: 56
Joined: 17 Oct 2015, 00:15
Detinator Steam: Nu
CS Status: Contact : eu.cs_2012@yahoo.com
Detinator server CS: Momentan nu .
SteamID: -
Fond eXtream: 0
Contact:

01 Nov 2015, 21:17

Frumos , ms ca l-ai postat >:) \m/
Contact :
--> Y!M : eu.cs_2012@yahoo.com
--> SKYPE : cs.spike.cs
#SGG :3
User avatar
^ionutz^
Fost moderator
Fost moderator
Posts: 2000
Joined: 05 Oct 2013, 14:12
Detinator Steam: Da
CS Status: activitate scazuta !
SteamID: /id/ionutz_cs/
Reputatie: Fost moderator ajutator
Location: Galati
Has thanked: 46 times
Been thanked: 23 times
Contact:

02 Nov 2015, 19:22

era frumos in 2013 acum pentru unii a devenit banal de domeniul trecutului simplu etc atunci erau vremuri frumoase pentru furien
Post Reply

Return to “AmxModX”

  • Information
  • Who is online

    Users browsing this forum: No registered users and 7 guests