Dau 3 euro Vodafone cine ma Rezolva - Furien

Discutii legate de instalarea, configurarea si modificarea unui server de Counter-Strike.

Moderators: Moderatori ajutatori, Moderatori, Echipa eXtreamCS.com

Post Reply
VoViCa
Membru, skill +1
Membru, skill +1
Posts: 494
Joined: 28 May 2012, 20:48
Detinator Steam: Nu
Location: Bucuresti
Has thanked: 73 times
Been thanked: 17 times
Contact:

26 Jul 2012, 12:06

Salut , deci am o problema la Furien Mod , cand sunt Furien ( Terorist ) , nu imi da nici macar cutitul , nu mai vorbesc de bomba sau de grenazi , ce pot face , uitati aici pluginul care il folosesc :(( :

Code: Select all

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

#define PLUGINNAME    "Furien Utilities"
#define VERSION        "0.7"

#define KEYS    ((1<<0)|(1<<1)|(1<<2)|(1<<3)|(1<<4))

#pragma semicolon 1

new MENU;

new bool:WeapChoosen[ 33 ];

new const g_radiocommands[ ][ ] =
{
	"radio1", "radio2", "radio3", "coverme", "takepoint",
	"holdpos", "regroup", "followme", "takingfire", "go",
	"fallback", "sticktog", "getinpos", "stormfront",
	"report", "roger", "enemyspot", "needbackup",
	"sectorclear", "inposition", "reportingin", "getout",
	"negative", "enemydown"
};

public plugin_init( )
{

	register_plugin( PLUGINNAME, VERSION, "sPuf ?" );

	register_clcmd( "say /weapons", "sayWeapons" );

	
	RegisterHam( Ham_Spawn, "player", "Player_Spawn", 1 );
	register_event( "SendAudio", "ct_win", "a", "1=0", "2=%!MRAD_ctwin" );
	
	
	MENU = register_menuid( "MENU" );
	register_menucmd( MENU, KEYS, "actionMenu" );

}
public sayWeapons( id )
{

	if( cs_get_user_team( id ) == CS_TEAM_CT && WeapChoosen[ id ]
		|| cs_get_user_team( id ) == CS_TEAM_T || !is_user_alive( id ) )
		return 1;
	
	showMenu(id);
	return 0;
}
public Player_Spawn( id )
{
	if( is_user_alive( id ) ) 
	{
		if( cs_get_user_team( id ) == CS_TEAM_T ) 
		{
			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" );
		}
		else if( cs_get_user_team( id ) == CS_TEAM_CT ) 
		{
			strip_user_weapons( id );
			showMenu( id );
			WeapChoosen[ id ] = false;
		}
	}
}
public ct_win( ) {

	set_task( 1.5 ,"SwitchTeams" );

}
public SwitchTeams( ) {
	
	new iPlayers[32], iNum;
	get_players(iPlayers, iNum, "h");

	if( iNum ) 
	{
		new id;
		for(--iNum; iNum>=0; iNum--) 
		{
			id = iPlayers[iNum];
			switch( cs_get_user_team(id) ) 
			{
				case CS_TEAM_T: cs_set_user_team( id, CS_TEAM_CT );
				case CS_TEAM_CT: cs_set_user_team( id, CS_TEAM_T );
			}
		}
	}
}

public client_command( id ) 
{
	new sArg[ 13 ];

	if( read_argv( 0, sArg, 12 ) > 11 )
		return 0;
	
	if( !WeapChoosen[ id ] ) 
	{
		for( new i = 0; i < sizeof( g_radiocommands ); i++ ) 
		{
			
			if( equali( g_radiocommands[ i ], sArg, 0 ) ) 
			{
				client_print( id, print_chat, "Choose your weapon first !!");
				showMenu(id);
				return 1;
			}
		}
	}
	
	return 0;
}

public showMenu( id ) 
{
	new CsTeams:team = cs_get_user_team(id);
	if( team == CS_TEAM_T ) 
		return 1;
		
	new szMenu[ 1024 ], n;

	n = formatex( szMenu, 1023, "rAntiFurien Weapons Menu:^n^n");

	n += formatex( szMenu[ n ], 1023-n, "1.M4A1 -- USP^n" );

	n += formatex( szMenu[ n ], 1023-n, "2.Ak47 -- Deagle^n" );
	n += formatex( szMenu[ n ], 1023-n, "3.MP5 Navy -- Elite^n" );
	n += formatex( szMenu[ n ], 1023-n, "4.XM1014 -- P228^n" );
	n += formatex( szMenu[ n ], 1023-n, "5.M3 -- Deagle^n" );

	show_menu( id, KEYS, szMenu, -1, "MENU" );
	
	return 0;
}

public actionMenu( id, key )
{
	new CsTeams:team = cs_get_user_team(id);
	if( team == CS_TEAM_T ) 
		return 1;
	
	switch( key )
	{
		case 0:
		{
			WeapChoosen[ id ] = true;
			give_item( id, "weapon_knife");
			give_item( id, "weapon_m4a1");
			give_item( id, "weapon_usp");
			give_item( id,"weapon_flashbang");
			give_item( id,"weapon_flashbang");
			give_item( id,"weapon_smokegrenade");
			cs_set_user_bpammo( id, CSW_M4A1, 200);
			cs_set_user_bpammo( id, CSW_USP, 200);
		}
		case 1:
		{
			WeapChoosen[ id ] = true;
			give_item( id, "weapon_knife");
			give_item( id, "weapon_ak47");
			give_item( id, "weapon_deagle");
			give_item( id,"weapon_flashbang");
			give_item( id,"weapon_flashbang");
			give_item( id,"weapon_smokegrenade");
			cs_set_user_bpammo( id, CSW_AK47, 200);
			cs_set_user_bpammo( id, CSW_DEAGLE, 200);
			 
		}
		case 2: 
		{
			WeapChoosen[ id ] = true;
			give_item( id, "weapon_knife");
			give_item( id, "weapon_mp5navy");
			give_item( id, "weapon_elite");
			give_item( id,"weapon_flashbang");
			give_item( id,"weapon_flashbang");
			give_item( id,"weapon_smokegrenade");
			cs_set_user_bpammo( id, CSW_MP5NAVY, 200);
			cs_set_user_bpammo( id, CSW_ELITE, 200);
		}
		case 3: 
		{
			WeapChoosen[ id ] = true;
			give_item( id, "weapon_knife");
			give_item( id, "weapon_xm1014");
			give_item( id, "weapon_p228");
			give_item( id,"weapon_flashbang");
			give_item( id,"weapon_flashbang");
			give_item( id,"weapon_smokegrenade");
			cs_set_user_bpammo( id, CSW_XM1014, 200);  
			cs_set_user_bpammo( id, CSW_P228, 200); 
		}
		case 4: 
		{
			WeapChoosen[ id ] = true;
			give_item( id, "weapon_knife");
			give_item( id, "weapon_m3");
			give_item( id, "weapon_deagle");
			give_item( id,"weapon_flashbang");
			give_item( id,"weapon_flashbang");
			give_item( id,"weapon_smokegrenade");
			cs_set_user_bpammo( id, CSW_M3, 200);  
			cs_set_user_bpammo( id, CSW_DEAGLE, 200); 
		}
	}
	return 1;
}

Mai muolt nu stiu ce sa pun

Nu se intelege mai nimic din Filmul acesta , dar e ceva :((:

http://www.youtube.com/watch?v=Rr_bKnL_CBs


PS: dau 3-4 euro vodafone cui ma ajuta sa rezolv asta .. :(
Cine ma poate ajuta adD ID: christianvovec
User avatar
tictac
Membru eXtream
Membru eXtream
Posts: 4018
Joined: 24 Feb 2012, 18:27
Detinator Steam: Da
Reputatie: 1 warn scos (-2 luni club)
Membru Club eXtreamCS (3 luni)
Ban 3 luni (achitat)
Location: Bihor, Oradea
Has thanked: 73 times
Been thanked: 569 times
Contact:

26 Jul 2012, 16:13

Tasteaza /weapons in chat.
VoViCa
Membru, skill +1
Membru, skill +1
Posts: 494
Joined: 28 May 2012, 20:48
Detinator Steam: Nu
Location: Bucuresti
Has thanked: 73 times
Been thanked: 17 times
Contact:

26 Jul 2012, 17:29

La terorist nu merge , nu are ce meniu sa imi arate :( , Eu la terorist am problema ;(( (!
User avatar
TzUcK
Fost moderator
Fost moderator
Posts: 2943
Joined: 19 Jul 2009, 14:44
Detinator Steam: Da
Reputatie: Fost moderator
Has thanked: 70 times
Been thanked: 140 times
Contact:

28 Jul 2012, 20:38

Pai la teroristi din cate stiu la furien mode nu are cum sa dea arma . Parca e doar cutit , nu e asa ?
VoViCa
Membru, skill +1
Membru, skill +1
Posts: 494
Joined: 28 May 2012, 20:48
Detinator Steam: Nu
Location: Bucuresti
Has thanked: 73 times
Been thanked: 17 times
Contact:

29 Jul 2012, 14:09

Pai da , nici cutit nu imi da , cateodata imi da bomba , dar la grenazi imi da "strip" ( mi le scoate ) ...
VoViCa
Membru, skill +1
Membru, skill +1
Posts: 494
Joined: 28 May 2012, 20:48
Detinator Steam: Nu
Location: Bucuresti
Has thanked: 73 times
Been thanked: 17 times
Contact:

30 Jul 2012, 13:48

Nimeni ? 4 euro !!!
ViRuSHD
Membru, skill 0
Membru, skill 0
Posts: 1
Joined: 24 Jan 2013, 01:00
Detinator Steam: Nu
CS Status: Citesc forumul eXtreamCS.com...!
Contact:

24 Jan 2013, 01:01

Cred ca te pot ajuta..si cred ca mi-am dat seama care e problema .Da add pe mess
Post Reply

Return to “Probleme la servere dedicate de Counter-Strike”

  • Information
  • Who is online

    Users browsing this forum: No registered users and 15 guests