Cerere plugin

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
User avatar
Fantasy1
Utilizator neserios (tepar)
Utilizator neserios (tepar)
Posts: 4843
Joined: 05 Jul 2012, 00:26
Detinator Steam: Da
Reputatie: Membru Club eXtreamCS (1 Mar)
Utilizator neserios (TEPAR!)
Has thanked: 278 times
Been thanked: 217 times
Contact:

12 Jul 2012, 23:36

Am si eu nev de un plug meniu tero pentru deathrun in meniu sa contina:
1.USP
2.DEAGLE
3.20 grenade
4.1000 hp

SI 5 ADICA PUTIN MAI JOS SA FIE -->Image cu 30 gloante doar pentru gradu good si sa scriu eu accesul.
CLICK AICI pentru FORUM
- Un Forum Care Nu Poate Fi Spart -
- Un Forum Care Nu Modifica Topicurile Cu Tepari -
- Vrei Indexare In Google? Posteaza Tzeparii La Noi -

- Daca ai nevoie sa te ajut cu un addons/plugin etc se plateste, nu ajut cu nimic pe GRATIS -
User avatar
tre3fla
Membru eXtream
Membru eXtream
Posts: 5333
Joined: 27 May 2012, 10:15
Detinator Steam: Da
CS Status: Allah Akbar !
Detinator server CS: Nu
SteamID: /id/tre3fla_xxx
Has thanked: 14 times
Been thanked: 129 times

12 Jul 2012, 23:46

nu poti seta intr-un plugin accesul doar pentru o optiune...daca setezi accesul,acesta se va seta in tot pluginul... (eu asa stiam..)
User avatar
Fantasy1
Utilizator neserios (tepar)
Utilizator neserios (tepar)
Posts: 4843
Joined: 05 Jul 2012, 00:26
Detinator Steam: Da
Reputatie: Membru Club eXtreamCS (1 Mar)
Utilizator neserios (TEPAR!)
Has thanked: 278 times
Been thanked: 217 times
Contact:

13 Jul 2012, 08:45

UP!!!!!
CLICK AICI pentru FORUM
- Un Forum Care Nu Poate Fi Spart -
- Un Forum Care Nu Modifica Topicurile Cu Tepari -
- Vrei Indexare In Google? Posteaza Tzeparii La Noi -

- Daca ai nevoie sa te ajut cu un addons/plugin etc se plateste, nu ajut cu nimic pe GRATIS -
User avatar
tre3fla
Membru eXtream
Membru eXtream
Posts: 5333
Joined: 27 May 2012, 10:15
Detinator Steam: Da
CS Status: Allah Akbar !
Detinator server CS: Nu
SteamID: /id/tre3fla_xxx
Has thanked: 14 times
Been thanked: 129 times

13 Jul 2012, 09:12

Cate Gloante vrei al USP/Deagle...ma apuc eu sa til fac,sper sa reusesc :D
User avatar
Fantasy1
Utilizator neserios (tepar)
Utilizator neserios (tepar)
Posts: 4843
Joined: 05 Jul 2012, 00:26
Detinator Steam: Da
Reputatie: Membru Club eXtreamCS (1 Mar)
Utilizator neserios (TEPAR!)
Has thanked: 278 times
Been thanked: 217 times
Contact:

13 Jul 2012, 09:33

munitie full
CLICK AICI pentru FORUM
- Un Forum Care Nu Poate Fi Spart -
- Un Forum Care Nu Modifica Topicurile Cu Tepari -
- Vrei Indexare In Google? Posteaza Tzeparii La Noi -

- Daca ai nevoie sa te ajut cu un addons/plugin etc se plateste, nu ajut cu nimic pe GRATIS -
User avatar
tre3fla
Membru eXtream
Membru eXtream
Posts: 5333
Joined: 27 May 2012, 10:15
Detinator Steam: Da
CS Status: Allah Akbar !
Detinator server CS: Nu
SteamID: /id/tre3fla_xxx
Has thanked: 14 times
Been thanked: 129 times

13 Jul 2012, 10:42

| Afiseaza codul
#include <amxmodx>
#include <cstrike>
#include <fun>
#include <hamsandwich>

#pragma semicolon 1


#define RED  0
#define GREEN  255
#define BLUE  255

#define HE 20


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

#define PLUGIN "DeathRun Terro Menu"
#define VERSION "1.5"
#define AUTHOR "tre3fla"

new const MenuName[] = "\rMeniu Terorist^n^n";
new const NumeSite[] = "\ywww.numesite.ro";

new MENU; 		
public showMenu(id) 
{
	new szMenu[1024], n;

	n = formatex(szMenu, 1023, "%s",MenuName);

	n += formatex(szMenu[n], 1023-n, "\r1.\w USP^n");
	n += formatex(szMenu[n], 1023-n, "\r2.\w Deagle^n");
	n += formatex(szMenu[n], 1023-n, "\r3.\w Grenazi^n");
	n += formatex(szMenu[n], 1023-n, "\r4.\w 1000 HP^n");
	n += formatex(szMenu[n], 1023-n, "\r7.\w Arma \y [Admins Only]^n^n\r0.\w Iesire^n^n%s",NumeSite);

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

}
public MenuHandler(id, key)
{
	
	if(!is_user_ok(id)) return 1;
	
	switch(key)
	{
		case 0:
		{
			usp(id);
			return 1;
		}
		case 1:
		{
			deagle(id);
			return 1;
		}
		case 2:
		{
			grenazi(id); 
			return 1;
		}
		case 3:
		{
			1000hp(id); 
			return 1;
		}
		case 4:
		{ 
                       
		if(!is_user_admin(id)) {
			client_print(id, print_chat, "[Meniu] Decat Adminii Pot Alege Aceasta Optiune !"); 
                 }
			arma(id);
			return 1; 
}
		case 9:
		{
			showMenu(id);
			return 1;
		}
	}
	return 0;
} 

}
public usp(id) 
{
	
	new name[32];
	get_user_name(id,name,31);
	
	set_hudmessage(RED, GREEN, BLUE, 0.02, 0.20, 0, 6.0, 3.0);
	show_hudmessage(id, "%s are un USP bine incarcat !!",name);
	
	client_print(id,print_chat,"Ai primit un USP cu 120 de gloante"); 
        give_item(id, "weapon_km45"); 
        cs_set_bpammo(id,WEAPON_KM45,100);  

}
public deagle(id) 
{
	
	new name[32];
	get_user_name(id,name,31);
	
	set_hudmessage(RED, GREEN, BLUE, 0.02, 0.20, 0, 6.0, 3.0);
	show_hudmessage(id, "%s are un DEAGLE cu multe gloante !!",name);
	
	client_print(id,print_chat,"Ai primit un DEAGLE cu 42 de gloante"); 
        give_item(id, "weapon_deagle"); 
        cs_set_bpammo(id,WEAPON_DEAGLE5,35) 

}
public grenazi(id) 
{
	
	new name[32];
	get_user_name(id,name,31);
	
	set_hudmessage(RED, GREEN, BLUE, 0.02, 0.20, 0, 6.0, 3.0);
	show_hudmessage(id, "%s a primit %d de HE !",name,HE);
	
	client_print(id,print_chat,"Ai primit %d de HE",HE);
	
	give_item(id, "weapon_hegrenade");
	cs_set_user_bpammo(id,CSW_HEGRENADE,HE); 

} 
public 1000hp 
{ 

    new name[32];
	get_user_name(id,name,31);
	
	set_hudmessage(RED, GREEN, BLUE, 0.02, 0.20, 0, 6.0, 3.0);
	show_hudmessage(id, "%s are acum 1000 HP",name,id);
	
	client_print(id,print_chat,"Ai primit 1000HP",id);
	set_user_health(id, 1000);
}
public arma(id) 
{
	new name[32];
	get_user_name(id,name,31);
	
	set_hudmessage(RED, GREEN, BLUE, 0.02, 0.20, 0, 6.0, 3.0);
	show_hudmessage(id, "Aveti grija, %s are o arma  !!",name);
	
	client_print(id,print_chat,"Ai primit un TMP !!");
	give_item(id, "weapon_tmp"); 
        
}
stock is_user_ok(id)
{
	if(is_user_alive(id) && is_user_connected(id) && cs_get_user_team(id) == CS_TEAM_T)
		return 1;
		
	return 0;
}


Asta ar trebui sa mearga -> Plugin by sPuf ?,modificat de mine :)
User avatar
Fantasy1
Utilizator neserios (tepar)
Utilizator neserios (tepar)
Posts: 4843
Joined: 05 Jul 2012, 00:26
Detinator Steam: Da
Reputatie: Membru Club eXtreamCS (1 Mar)
Utilizator neserios (TEPAR!)
Has thanked: 278 times
Been thanked: 217 times
Contact:

13 Jul 2012, 12:11

Nu merge erori
CLICK AICI pentru FORUM
- Un Forum Care Nu Poate Fi Spart -
- Un Forum Care Nu Modifica Topicurile Cu Tepari -
- Vrei Indexare In Google? Posteaza Tzeparii La Noi -

- Daca ai nevoie sa te ajut cu un addons/plugin etc se plateste, nu ajut cu nimic pe GRATIS -
User avatar
Ulquiorra
Scripter eXtreamCS
Scripter eXtreamCS
Posts: 2054
Joined: 25 Jul 2010, 16:29
Detinator Steam: Da
CS Status: A mai trecut o zi asteptand una mai buna
Detinator server CS: Retras.
SteamID: STEAM_0:1:318247XX
Reputatie: Scripter eXtreamCS
Nick anterior: sPuf ?, a^ml), Loca Tapioca, Askhanar
Fost Moderator ajutator
Location: Braila, Romania.
Has thanked: 214 times
Been thanked: 1131 times
Contact:

13 Jul 2012, 18:50

ti-l fac eu.. revin in 30 min.. maxim ( acum caut o tema phpbb 3.0.10 ).

EDIT:

pune la FLAGS_GOD flagurile sau flagu pentru acces la optiunea 5 !
asdadada | Afiseaza codul
#include <amxmodx>
#include <cstrike>
#include <fun>
#include <hamsandwich>

#pragma semicolon 1


#define RED  0
#define GREEN  255
#define BLUE  255

#define HE 20


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


#define PLUGIN "DeathRun Terro Menu"
#define VERSION "1.5"
#define AUTHOR "tre3fla"     // haha ce plugin smecher ai facut :)))) nici plugin_init nu avea =))

new const MenuName[]= "\rMeniu Terorist^n^n";
new const NumeSite[] = "\ywww.numesite.ro";
new const FLAGS_GOD[] = "abcdefi";	// flagurile care le are rangul god.

new MENU; 

public plugin_init() 
{
	register_plugin(PLUGIN, VERSION, AUTHOR);
	
	MENU = register_menuid("MENU");
	register_menucmd( MENU, KEYS, "MenuHandler");
	register_clcmd( "say /menu", "showMenu");
	
	RegisterHam(Ham_Spawn, "player", "fw_PlayerSpawn", 1);
	
}

public fw_PlayerSpawn(id) 
{
	if( is_user_ok(id)) 
	{
		set_task( 3.0, "showMenu", id );
	}
	
	return HAM_IGNORED;
}

public showMenu(id) 
{
	if( !is_user_ok( id ) ) return 1;
	
	new szMenu[1024], n;

	n = formatex(szMenu, 1023, "%s",MenuName);

	n += formatex(szMenu[n], 1023-n, "\r1.\w USP^n");
	n += formatex(szMenu[n], 1023-n, "\r2.\w Deagle^n");
	n += formatex(szMenu[n], 1023-n, "\r3.\w Grenazi^n");
	n += formatex(szMenu[n], 1023-n, "\r4.\w 1000 HP^n^n");
	n += formatex(szMenu[n], 1023-n, "\r5.\w Arma \y [Admins Only]^n^n\r0.%s",NumeSite);

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

}
public MenuHandler(id, key)
{
	
	if(!is_user_ok(id)) return 1;
	
	switch(key)
	{
		case 0:
		{
			usp(id);
			return 1;
		}
		case 1:
		{
			deagle(id);
			return 1;
		}
		case 2:
		{
			grenazi(id); 
			return 1;
		}
		case 3:
		{
			hp( id );
			return 1;
		}
		case 4:
		{ 
                       
			if( ! ( get_user_flags( id ) & read_flags( FLAGS_GOD ) ) )
			{
				client_print(id, print_chat, "[Meniu] Decat Adminii Pot Alege Aceasta Optiune !");
				showMenu(id);
				return 1;
			}
			arma(id);
			return 1; 
		}
		case 9:
		{
			showMenu(id);
			return 1;
		}
	}
	return 0;
} 
public usp(id) 
{
	
	new name[32];
	get_user_name(id,name,31);
	
	set_hudmessage(RED, GREEN, BLUE, 0.02, 0.20, 0, 6.0, 3.0);
	show_hudmessage(id, "%s are un USP bine incarcat !!",name);
	
	client_print(id,print_chat,"Ai primit un USP cu 120 de gloante"); 
	give_item(id, "weapon_usp"); 
	cs_set_user_bpammo(id,CSW_USP,120);  

}
public deagle(id) 
{
	
	new name[32];
	get_user_name(id,name,31);
	
	set_hudmessage(RED, GREEN, BLUE, 0.02, 0.20, 0, 6.0, 3.0);
	show_hudmessage(id, "%s are un DEAGLE cu multe gloante !!",name);
	
	client_print(id,print_chat,"Ai primit un DEAGLE cu 42 de gloante"); 
	give_item(id, "weapon_deagle"); 
	cs_set_user_bpammo(id, CSW_DEAGLE,42);

}
public grenazi(id) 
{
	
	new name[32];
	get_user_name(id,name,31);
	
	set_hudmessage(RED, GREEN, BLUE, 0.02, 0.20, 0, 6.0, 3.0);
	show_hudmessage(id, "%s a primit %d de HE !",name,HE);
	
	client_print(id,print_chat,"Ai primit %d de HE",HE);
	
	give_item(id, "weapon_hegrenade");
	cs_set_user_bpammo(id,CSW_HEGRENADE,HE); 

} 
public hp( id )
{ 

	new name[32];
	get_user_name(id,name,31);
	
	set_hudmessage(RED, GREEN, BLUE, 0.02, 0.20, 0, 6.0, 3.0);
	show_hudmessage(id, "%s are acum 1000 HP",name,id);
	
	client_print(id,print_chat,"Ai primit 1000HP",id);
	set_user_health(id, 1000);
}
public arma(id) 
{
	new name[32];
	get_user_name(id,name,31);
	
	set_hudmessage(RED, GREEN, BLUE, 0.02, 0.20, 0, 6.0, 3.0);
	show_hudmessage(id, "Aveti grija, %s are o arma  !!",name);
	
	client_print(id,print_chat,"Ai primit un TMP !!");
	give_item(id, "weapon_tmp");
	cs_set_user_bpammo(id,CSW_TMP, 30 );
        
}
stock is_user_ok(id)
{
	if(is_user_alive(id) && is_user_connected(id) && cs_get_user_team(id) == CS_TEAM_T)
		return 1;
		
	return 0;
}
""Copilarie, iarta-ma c-am vrut sa fiu om mare.. ""
Post Reply

Return to “Cereri”

  • Information
  • Who is online

    Users browsing this forum: No registered users and 28 guests