Cerere pluginuri

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 .
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:

08 Jul 2012, 15:59

Defapt baga full 2 he sau 1 cat se poate 2 flash 2 smoke
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
J3FF
Membru, skill +1
Membru, skill +1
Posts: 472
Joined: 27 Oct 2007, 19:02
Detinator Steam: Nu
CS Status: ON and Ready 2 PLAY
Detinator server CS: Nu
Location: SiBiU
Has thanked: 25 times
Been thanked: 39 times
Contact:

08 Jul 2012, 16:33

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

#pragma semicolon 1;

#define VIP_LEVEL      ADMIN_RESERVATION
static const COLOR[] = "^x04"; // Green for display VIP

public plugin_init() {
	RegisterHam(Ham_Spawn, "player", "Spawn", 1);
	register_clcmd("say", "handle_say");
	register_clcmd("say_team", "handle_say");
	register_clcmd("say /vreauvip", "vreau_vip");
	register_clcmd("say_team /vreauvip", "vreau_vip");
	register_message(get_user_msgid("ScoreAttrib"),"vip_scoreboard");
}
public Spawn(id) {
	if(is_user_alive(id) && get_user_flags(id) & ADMIN_RESERVATION) {
	set_task(1.0,"give",id);
}
}
public give(id) {
	if(cs_get_user_team(id) == CS_TEAM_T) {
	strip_user_weapons(id);
	give_item(id, "weapon_knife" );
	set_user_health(id, 100);
	give_item(id, "weapon_deagle");
	cs_set_user_bpammo ( id, CSW_DEAGLE, 35);
	give_item(id, "weapon_hegrenade");
	cs_set_user_bpammo(id, CSW_HEGRENADE, 2);
	give_item(id, "weapon_flashbang");
	cs_set_user_bpammo(id, CSW_FLASHBANG, 2);
        give_item(id,"weapon_smokegrenade");
        cs_set_user_bpammo(id, CSW_SMOKEGRENADE, 2);
	cs_set_user_armor(id, 100, CS_ARMOR_VESTHELM);
}
	if(cs_get_user_team(id) == CS_TEAM_CT) {
	strip_user_weapons(id);
        give_item(id, "weapon_knife" );
	give_item(id, "weapon_deagle");
	cs_set_user_bpammo ( id, CSW_DEAGLE, 35);
	give_item(id, "weapon_hegrenade");
	cs_set_user_bpammo(id, CSW_HEGRENADE, 2);
	give_item(id, "weapon_flashbang");
	cs_set_user_bpammo(id, CSW_FLASHBANG, 2);
        give_item(id,"weapon_smokegrenade");
        cs_set_user_bpammo(id, CSW_SMOKEGRENADE, 2);
	set_user_health(id, 100);
	cs_set_user_armor(id, 100, CS_ARMOR_VESTHELM);
}
}
public print_adminlist(user) {
	new adminnames[33][32];
	new message[256];
	new id, count, x, len;
   
	for(id = 1 ; id <= get_maxplayers() ; id++)
	if(is_user_connected(id))
	if(get_user_flags(id) & VIP_LEVEL)
	get_user_name(id, adminnames[count++], 31);
   
	len = format(message, 255, "%s VIP ONLINE: ",COLOR);
	if(count > 0) {
	for(x = 0 ; x < count ; x++) {
	len += format(message[len], 255-len, "%s%s ", adminnames[x], x < (count-1) ? ", ":"");
	if(len > 96) {
	print_message(user, message);
	len = format(message, 255, "%s ",COLOR);
}
}
	print_message(user, message);
}
	else {
	len += format(message[len], 255-len, "No VIP online.");
	print_message(user, message);
}
}
print_message(id, msg[]) {
	message_begin(MSG_ONE, get_user_msgid("SayText"), {0,0,0}, id);
	write_byte(id);
	write_string(msg);
	message_end();
}
public handle_say(id) {
	new said[192];
	read_args(said,192);
	if(contain(said, "/vips") != -1)
	set_task(0.1,"print_adminlist",id);
	return PLUGIN_CONTINUE;
}
public vip_scoreboard(const MsgId, const MsgType, const MsgDest) {
	static id;
	id = get_msg_arg_int(1);
	if(get_user_flags(id) & VIP_LEVEL)
	set_msg_arg_int(2, ARG_BYTE, (1 << 2 ));
}
public vreau_vip(id) {
	show_motd(id, "vip.txt");
} 
public PrintText(id){
client_print(id, print_chat, "!t[VIP] !gScrie !t/vreauvip !gsi vei vedea !tcum poti obtine rangul de VIP.");
}
stock ColorChat(const id, const input[], any:...) {
	new count = 1, players[32];
	static msg[191];
	vformat(msg, 190, input, 3);
   
	replace_all(msg, 190, "^x04", "!g");
	replace_all(msg, 190, "^x01", "!n");
	replace_all(msg, 190, "^x03", "!t");
   
	if(id) players[0] = id;
	else get_players(players, count, "ch"); {
	for(new i = 0; i < count; i++) {
	if(is_user_connected(players)) {
	message_begin(MSG_ONE_UNRELIABLE, get_user_msgid("SayText"), _, players);
	write_byte(players);
	write_string(msg);
	message_end();
}
}
}
}
Unii ma mai stiu de e t n a d

Image
viciousvixen23
Membru, skill 0
Membru, skill 0
Posts: 72
Joined: 07 Jul 2012, 20:21
Detinator Steam: Da
CS Status: Citesc forumul ilogicgroup.org ...!
Detinator server CS: gg.ilogicgroup.org
SteamID: ariki666
Been thanked: 8 times
Contact:

08 Jul 2012, 18:24

Image
Image
Image
Image
Image
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:

09 Jul 2012, 01:42

vici buna treaba dar nu e ceea ce doresc eu daca vr dai add fanatasylgz sa vb ceva cu tine
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
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:

09 Jul 2012, 11:03

UPP si daca poate cineva sa faca awp sal fols numai vipu.
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 -
viciousvixen23
Membru, skill 0
Membru, skill 0
Posts: 72
Joined: 07 Jul 2012, 20:21
Detinator Steam: Da
CS Status: Citesc forumul ilogicgroup.org ...!
Detinator server CS: gg.ilogicgroup.org
SteamID: ariki666
Been thanked: 8 times
Contact:

09 Jul 2012, 17:44

Code: Select all

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

#define ADMIN_BAN  (1<<3) /* flag "d" */

new pcvar_Display


public plugin_init()
{
	register_plugin("Meniu DeathRun", "1.2", "Vicious Vixen")
        //Sniper
	register_clcmd("mouse", "nice")
	register_clcmd("dmouse", "dnice")
        // Flash Bang
	register_clcmd("alba", "alba")
	register_clcmd("dalba", "dalba")
        // HP (10000)
	register_clcmd("victim", "victim")
	register_clcmd("dvictim", "dvictim")
        // BombarMan
	register_clcmd("BombarMan", "bombarman")
	register_clcmd("dBombarMan", "dbombarman")
        // awp
	register_clcmd("awp", "awp")
	register_clcmd("dawp", "dawp")
        // Arata sau nu arata mesajele HUD si say
	pcvar_Display = register_cvar("amx_display", "1")
}

// Deagle
public nice(id)
{
{
	nice_funcT()
	nice_funcCT()
}
}
public nice_funcT()
{
new Maxplayers = get_maxplayers()
for(new i = 0; i <= Maxplayers; i++)
{
	if(!is_user_connected(i) || !is_user_alive(i))
	{
		continue
	}
	if(get_pcvar_num(pcvar_Display) == 1)
	{
		ColorChat(i, RED, "^x01[^x04 I.G.^x01 ]^x03 Teroristul^x01 a ales modul^x04 Deagle!");
	}
	if(cs_get_user_team(i) == CS_TEAM_T)
	{
		give_item(i, "weapon_deagle")
		cs_set_user_bpammo(i , CSW_DEAGLE, 35)
	}
}
}

public nice_funcCT()
{
new Maxplayers = get_maxplayers()
for(new i = 0; i <= Maxplayers; i++)
{
	if(!is_user_connected(i) || !is_user_alive(i))
	{
		continue
	}
	if(get_pcvar_num(pcvar_Display) == 1)
	{
		set_hudmessage(0, 255, 255, 0.02, -1.0);
		show_hudmessage(0, "Acum jucam modul -=Deagle=-")
	}
}
}

public dnice(id)
{
{
nice_funcD()
}
}

public nice_funcD()
{
new Maxplayers = get_maxplayers()
for(new i = 0; i <= Maxplayers; i++)
{
if(!is_user_connected(i) || !is_user_alive(i))
{
	continue
}
client_cmd(i, "drop;drop")
}
}

// USP
public alba(id)
{
{
	alba_funcT()
	alba_funcCT()
}
}
public alba_funcT()
{
new Maxplayers = get_maxplayers()
for(new i = 0; i <= Maxplayers; i++)
{
	if(!is_user_connected(i) || !is_user_alive(i))
	{
		continue
	}
	if(get_pcvar_num(pcvar_Display) == 1)
	{
		ColorChat(i, RED, "^x01[^x04 I.G.^x01 ]^x03 Teroristul^x01 a ales modul^x04 -=USP=-!");
	}
	if(cs_get_user_team(i) == CS_TEAM_T)
	{
		give_item(i, "weapon_usp")
		cs_set_user_bpammo(i , CSW_USP, 35)
	}
}
}

public alba_funcCT()
{
new Maxplayers = get_maxplayers()
for(new i = 0; i <= Maxplayers; i++)
{
	if(!is_user_connected(i) || !is_user_alive(i))
	{
		continue
	}
	if(get_pcvar_num(pcvar_Display) == 1)
	{
		set_hudmessage(0, 255, 255, 0.02, -1.0);
		show_hudmessage(0, "Acum jucam modul -=USP=-")
	}
}
}

public dalba(id)
{
{
alba_funcD()
}
}

public alba_funcD()
{
new Maxplayers = get_maxplayers()
for(new i = 0; i <= Maxplayers; i++)
{
if(!is_user_connected(i) || !is_user_alive(i))
{
	continue
}
client_cmd(i, "drop;drop")
}
}

//Hp 1000
public victim(id)
{
{
	victim_funcT()
	victim_funcCT()
}
}

public victim_funcT()
{
new Maxplayers = get_maxplayers()
for(new i = 0; i <= Maxplayers; i++)
{
	if(!is_user_connected(i) || !is_user_alive(i))
	{
		continue
	}
	if(get_pcvar_num(pcvar_Display) == 1)
	{
		new name[33]
		get_user_name(i, name, 32)
		ColorChat(i, RED, "^x03 [^x04 I.G^x03 ]^x03 Teroristul^x01 a ales modul^x04 -=HP 1000=-");
	}
	if(cs_get_user_team(i) == CS_TEAM_T)
	{
		set_user_health(i, 1000)
	}
}
}

public victim_funcCT()
{

new Maxplayers = get_maxplayers()
for(new i = 0; i <= Maxplayers; i++)
{
	if(get_pcvar_num(pcvar_Display) == 1)
	{
		set_hudmessage(0, 255, 255, 0.02, -1.0);
		show_hudmessage(0, "Acum jucam modul -=HP 1000=-")
	}
	if(!is_user_connected(i) || !is_user_alive(i))
	{
		continue
	}
	if(cs_get_user_team(i) == CS_TEAM_CT)
	{
		set_user_health(i, 100)
	}
}
}

public dvictim(id)
{
{
victim_funcD()
}
}

public victim_funcD()
{
new Maxplayers = get_maxplayers()
for(new i = 0; i <= Maxplayers; i++)
{
if(!is_user_connected(i) || !is_user_alive(i))
{
	continue
}
client_cmd(i, "drop;drop")
}
}
//HE 20
public bombarman(id)
{
{
	bombarman_funcT()
	bombarman_funcCT()
}
}

public bombarman_funcT()
{
new Maxplayers = get_maxplayers()
for(new i = 0; i <= Maxplayers; i++)
{
	if(!is_user_connected(i) || !is_user_alive(i))
	{
		continue
	}
	if(get_pcvar_num(pcvar_Display) == 1)
	{
		ColorChat(i, RED, "^x03 [^x04 I.G^x03 ]^x03 Teroristul^x01 a ales modul^x04 -=HE 20=-");
	}
	if(cs_get_user_team(i) == CS_TEAM_T)
	{
		give_item(i, "weapon_hegrenade")
		cs_set_user_bpammo(i , CSW_HEGRENADE, 20)
	}
}
}

public bombarman_funcCT()
{

new Maxplayers = get_maxplayers()
for(new i = 0; i <= Maxplayers; i++)
{
	if(get_pcvar_num(pcvar_Display) == 1)
	{
		set_hudmessage(0, 255, 255, 0.02, -1.0);
		show_hudmessage(0, "Acum jucam modul -=HE 20=-")
	}
	if(!is_user_connected(i) || !is_user_alive(i))
	{
		continue
	}
	if(cs_get_user_team(i) == CS_TEAM_CT)
	{
		give_item(i, "weapon_hegrenade")
		cs_set_user_bpammo(i , CSW_HEGRENADE, 0)
	}
}
}

public dbombarman(id)
{
{
bombarman_funcD()
}
}

public bombarman_funcD()
{
new Maxplayers = get_maxplayers()
for(new i = 0; i <= Maxplayers; i++)
{
if(!is_user_connected(i) || !is_user_alive(i))
{
	continue
}
client_cmd(i, "drop;drop")
}
}
//Awp admin
public awp(id)
{
{
	awp_funcT()
}
}

public awp_funcT()
{
new Maxplayers = get_maxplayers()
for(new i = 0; i <= Maxplayers; i++)
{
         if(!is_user_connected(i) || !is_user_alive(i) || get_user_flags(i) & ADMIN_BAN)
	{
		continue
	}
	if(get_pcvar_num(pcvar_Display) == 1)
	{
		ColorChat(i, RED, "^x03 [^x04 I.G^x03 ]^x03 Teroristul^x01 a ales modul^x04 -=awp=-");
	}
	if(cs_get_user_team(i) == CS_TEAM_T)
	{
		give_item(i, "weapon_awp")
		cs_set_user_bpammo(i , CSW_AWP, 28)
	}
}
}

public dawp(id)
{
{
awp_funcD()
}
}

public awp_funcD()
{
new Maxplayers = get_maxplayers()
for(new i = 0; i <= Maxplayers; i++)
{
if(!is_user_connected(i) || !is_user_alive(i))
{
	continue
}
client_cmd(i, "drop;drop")
}
}
//Meniu
public ResetHUD(id){
	if(cs_get_user_team(id) & CS_TEAM_T)
		ebatkopat(id);
}

public ebatkopat(id){
	new menu = menu_create( "Alege o optiune^nMeniu pentru tero", "run_menu" );
	menu_additem( menu, "HP 1000!", "1", 0 );
	menu_additem( menu, "USP", "2", 0 );
	menu_additem( menu, "Deagle", "3", 0 );
	menu_additem( menu, "HE 20", "4", 0 );
	menu_additem( menu, "AWP - Admin Only", "5", 0 );
	menu_setprop( menu, MPROP_EXIT, MEXIT_ALL );
	menu_display( id, menu, 0 );
	return PLUGIN_HANDLED;
}

public run_menu(id, menu, item){
	if( item == MENU_EXIT ){
		menu_destroy( menu );
		return PLUGIN_HANDLED;
	}
	
	new data[ 9 ], iName[ 64 ], access, callback;
	menu_item_getinfo( menu, item, access, data, charsmax( data ), iName, charsmax( iName ), callback );
	new key = str_to_num( data );
	
	switch(key){
		case 1: client_cmd(id,"victim");
		case 2: client_cmd(id,"alba");	
		case 3: client_cmd(id,"mouse");
		case 4: client_cmd(id,"bombarman");
		case 5: client_cmd(id,"awp");
				
	}
	menu_destroy( menu );
	return PLUGIN_HANDLED;
}
Image
Image
Image
Image
Image
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:

11 Jul 2012, 22:37

am adaugat eu in plugin-ul lui J3FF functia care permite doar vipilor sa foloseasca arme cu luneta ( awp ).
asdasdasd | Afiseaza codul
#include <amxmodx>
#include <amxmisc>
#include <cstrike>
#include <fun>
#include <hamsandwich>


#define VIP_LEVEL      ADMIN_RESERVATION
static const COLOR[] = "^x04"; // Green for display VIP

public plugin_init() {
	RegisterHam(Ham_Spawn, "player", "Spawn", 1);
	register_clcmd("say", "handle_say");
	register_clcmd("say_team", "handle_say");
	register_clcmd("say /vreauvip", "vreau_vip");
	register_clcmd("say_team /vreauvip", "vreau_vip");
	register_message(get_user_msgid("ScoreAttrib"),"vip_scoreboard");
	
	register_event("CurWeapon", "event_CurWeapon", "be", "1=1");
}

public event_CurWeapon(id)
   {
   if(read_data(2) == CSW_AWP  || read_data(2) == CSW_SG550 || read_data(2) == CSW_G3SG1)
      {
      if(!(get_user_flags(id) & VIP_LEVEL))
         {
         client_print(id, print_center, "Numai vip poate folosi awp !")
         client_cmd(id, "drop")
         }
      }
   return PLUGIN_HANDLED
}
public Spawn(id) {
	if(is_user_alive(id) && get_user_flags(id) & ADMIN_RESERVATION) {
	set_task(1.0,"give",id);
}
}
public give(id) {
	if(cs_get_user_team(id) == CS_TEAM_T) {
	strip_user_weapons(id);
	give_item(id, "weapon_knife" );
	set_user_health(id, 100);
	give_item(id, "weapon_deagle");
	cs_set_user_bpammo ( id, CSW_DEAGLE, 35);
	give_item(id, "weapon_hegrenade");
	cs_set_user_bpammo(id, CSW_HEGRENADE, 2);
	give_item(id, "weapon_flashbang");
	cs_set_user_bpammo(id, CSW_FLASHBANG, 2);
        give_item(id,"weapon_smokegrenade");
        cs_set_user_bpammo(id, CSW_SMOKEGRENADE, 2);
	cs_set_user_armor(id, 100, CS_ARMOR_VESTHELM);
}
	if(cs_get_user_team(id) == CS_TEAM_CT) {
	strip_user_weapons(id);
        give_item(id, "weapon_knife" );
	give_item(id, "weapon_deagle");
	cs_set_user_bpammo ( id, CSW_DEAGLE, 35);
	give_item(id, "weapon_hegrenade");
	cs_set_user_bpammo(id, CSW_HEGRENADE, 2);
	give_item(id, "weapon_flashbang");
	cs_set_user_bpammo(id, CSW_FLASHBANG, 2);
        give_item(id,"weapon_smokegrenade");
        cs_set_user_bpammo(id, CSW_SMOKEGRENADE, 2);
	set_user_health(id, 100);
	cs_set_user_armor(id, 100, CS_ARMOR_VESTHELM);
}
}
public print_adminlist(user) {
	new adminnames[33][32];
	new message[256];
	new id, count, x, len;
   
	for(id = 1 ; id <= get_maxplayers() ; id++)
	if(is_user_connected(id))
	if(get_user_flags(id) & VIP_LEVEL)
	get_user_name(id, adminnames[count++], 31);
   
	len = format(message, 255, "%s VIP ONLINE: ",COLOR);
	if(count > 0) {
	for(x = 0 ; x < count ; x++) {
	len += format(message[len], 255-len, "%s%s ", adminnames[x], x < (count-1) ? ", ":"");
	if(len > 96) {
	print_message(user, message);
	len = format(message, 255, "%s ",COLOR);
}
}
	print_message(user, message);
}
	else {
	len += format(message[len], 255-len, "No VIP online.");
	print_message(user, message);
}
}
print_message(id, msg[]) {
	message_begin(MSG_ONE, get_user_msgid("SayText"), {0,0,0}, id);
	write_byte(id);
	write_string(msg);
	message_end();
}
public handle_say(id) {
	new said[192];
	read_args(said,192);
	if(contain(said, "/vips") != -1)
	set_task(0.1,"print_adminlist",id);
	return PLUGIN_CONTINUE;
}
public vip_scoreboard(const MsgId, const MsgType, const MsgDest) {
	static id;
	id = get_msg_arg_int(1);
	if(get_user_flags(id) & VIP_LEVEL)
	set_msg_arg_int(2, ARG_BYTE, (1 << 2 ));
}
public vreau_vip(id) {
	show_motd(id, "vip.txt");
} 
public PrintText(id){
client_print(id, print_chat, "!t[VIP] !gScrie !t/vreauvip !gsi vei vedea !tcum poti obtine rangul de VIP.");
}
stock ColorChat(const id, const input[], any:...) {
	new count = 1, players[32];
	static msg[191];
	vformat(msg, 190, input, 3);
   
	replace_all(msg, 190, "^x04", "!g");
	replace_all(msg, 190, "^x01", "!n");
	replace_all(msg, 190, "^x03", "!t");
   
	if(id) players[0] = id;
	else get_players(players, count, "ch"); {
	for(new i = 0; i < count; i++) {
	if(is_user_connected(players)) {
	message_begin(MSG_ONE_UNRELIABLE, get_user_msgid("SayText"), _, players);
	write_byte(players);
	write_string(msg);
	message_end();
}
}
}
}
""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 29 guests