Plugin V.I.P +Editare

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
OwN3d#WTF?!
Membru, skill +1
Membru, skill +1
Posts: 109
Joined: 18 Jun 2012, 21:11
Detinator Steam: Da
CS Status: Vreau sa invat scripting
Has thanked: 11 times
Been thanked: 6 times
Contact:

10 Jul 2012, 13:03

Un plugin V.I.P CU URMATOARELE

Indiferent de echipa :
1.Grenada La fiecare Frag facut
2. 150 VIATA & 100 armura In Fiecare Runda
3. 16000$ Dolarei IN Fiecare RUNDA

Cand este ct pe langa cele de mai sus sa primeasca:
1.Parasuta(deaia de aterizat nu altceva )


Iar daca este Ts sa primeasca:
WallHang Gratuit + Alea indiferent de echipa

Vip-ul cine mi-l face rog sa Imi trimita pm cu el ..


si modificarea
| Afiseaza codul
#include <amxmodx>

public plugin_init() {
	register_plugin("Team-Win ScreenFade", "0.1", "K!D()X")

	register_event("SendAudio", "T_Win", "a", "2=%!MRAD_terwin")
	register_event("SendAudio", "CT_Win", "a", "2=%!MRAD_ctwin")
}

public T_Win() {
	new iPlayers[32], iNum, id;
	get_players(iPlayers, iNum, "aceh", "TERRORIST");

	for (new i = 0 ; i < iNum ; i++) {
		id = iPlayers;
		
		set_hudmessage(255, 0, 0, -1.0, 0.10, 0, 6.0, 12.0);
		show_hudmessage(id, "YOUR MSG HERE !");
		
		message_begin(MSG_ONE, get_user_msgid("ScreenFade"), {0,0,0}, id);
		write_short(1<<10);
		write_short(1<<10);
		write_short(0x0000);
		write_byte(255);
		write_byte(0);
		write_byte(0);
		write_byte(120);
		message_end();
	}
}

public CT_Win() {
	new iPlayers[32], iNum, id;
	get_players(iPlayers, iNum, "aceh", "CT");

	for (new i = 0 ; i < iNum ; i++) {
		id = iPlayers;
		
		set_hudmessage(0, 0, 255, -1.0, 0.10, 0, 6.0, 12.0);
		show_hudmessage(id, "YOUR MSG HERE !");
		
		message_begin(MSG_ONE, get_user_msgid("ScreenFade"), {0,0,0}, id);
		write_short(1<<10);
		write_short(1<<10);
		write_short(0x0000);
		write_byte(0);
		write_byte(0);
		write_byte(255);
		write_byte(120);
		message_end();
	}
}

Astfeel incat sa Apara pe Centru mesajul cu verde si effectul rosu/albastru sa dureze 3 sec:)
No signature.
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:

10 Jul 2012, 13:25

mesaj pe centru si durata modificata.

setezi durata aici:

#define SECUNDE 3.0 // ATENTIE sa pui tot .0 ( ex 1.0 , merge si 1.2 1.5 s.a.m.d )
spoiler | Afiseaza codul
#include <amxmodx>


#define SECUNDE   3.0   // ATENTIE sa pui tot .0 ( ex 1.0 , merge si 1.2  1.5 s.a.m.d )

public plugin_init() {
	register_plugin("Team-Win ScreenFade", "0.1", "K!D()X")

	register_event("SendAudio", "T_Win", "a", "2=%!MRAD_terwin")
	register_event("SendAudio", "CT_Win", "a", "2=%!MRAD_ctwin")
}

public T_Win() {
	new iPlayers[32], iNum, id;
	get_players(iPlayers, iNum, "aceh", "TERRORIST");

	for (new i = 0 ; i < iNum ; i++) {
		id = iPlayers;
		
		set_hudmessage(255, 0, 0, -1.0, -1.0, 0, 6.0, 12.0);
		show_hudmessage(id, "YOUR MSG HERE !");
		
		message_begin(MSG_ONE, get_user_msgid("ScreenFade"), {0,0,0}, id);
		write_short(floatround( 4096.0 * SECUNDE, floatround_round ) );
		write_short(floatround( 4096.0 * SECUNDE, floatround_round ) );
		write_short(0x0000);
		write_byte(255);
		write_byte(0);
		write_byte(0);
		write_byte(120);
		message_end();
	}
}

public CT_Win() {
	new iPlayers[32], iNum, id;
	get_players(iPlayers, iNum, "aceh", "CT");

	for (new i = 0 ; i < iNum ; i++) {
		id = iPlayers;
		
		set_hudmessage(0, 0, 255, -1.0, -1.0, 0, 6.0, 12.0);
		show_hudmessage(id, "YOUR MSG HERE !");
		
		message_begin(MSG_ONE, get_user_msgid("ScreenFade"), {0,0,0}, id);
		write_short(floatround( 4096.0 * SECUNDE, floatround_round ) );
		write_short(floatround( 4096.0 * SECUNDE, floatround_round ) );
		write_short(0x0000);
		write_byte(0);
		write_byte(0);
		write_byte(255);
		write_byte(120);
		message_end();
	}
}


in legatura cu pluginul de vip.. este cam 75% din ce i-am facut lui mezzu.. si dupa cum i-am promis.. nu mai fac nimic asemanator..
si inca un lucru ar fi urmatorul:
ca sa il poti face trebuie modificate pluginele de wallhang si parachute..
""Copilarie, iarta-ma c-am vrut sa fiu om mare.. ""
OwN3d#WTF?!
Membru, skill +1
Membru, skill +1
Posts: 109
Joined: 18 Jun 2012, 21:11
Detinator Steam: Da
CS Status: Vreau sa invat scripting
Has thanked: 11 times
Been thanked: 6 times
Contact:

10 Jul 2012, 14:02

Pluginu V.I.P Este facut de mine(adica benificiile ca pluginu in sine sincer habarnam:)) ) daca seamana un pic cu cel a lui mzu atunci asta este

dar totusi poti modifica
Aici | Afiseaza codul
#include <amxmodx>
#include <engine>
#include <fakemeta>
#include <hamsandwich>

#include "furien.inc"
#include "furien_shop.inc"

#define VERSION "0.0.2"

#define XTRA_OFS_PLAYER			5
#define m_Activity				73
#define m_IdealActivity			74
#define m_flNextAttack			83
#define m_afButtonPressed		246

#define FIRST_PLAYER_ID	1
#define MAX_PLAYERS		32

#define PLAYER_JUMP		6

#define ACT_HOP 7

//#define FBitSet(%1,%2)		(%1 & %2)

new g_iMaxPlayers
#define IsPlayer(%1)	( FIRST_PLAYER_ID <= %1 <= g_iMaxPlayers )

#define IsHidden(%1)	IsPlayer(%1)

#define KNIFE_DRAW			3

new g_bHasWallHang
#define SetUserWallHang(%1)		g_bHasWallHang |=	1<<(%1&31)
#define RemoveUserWallHang(%1)	g_bHasWallHang &=	~(1<<(%1&31))
#define HasUserWallHang(%1)		g_bHasWallHang &	1<<(%1&31)

new g_bHanged
#define SetUserHanged(%1)	g_bHanged |=	1<<(%1&31)
#define RemoveUserHanged(%1)	g_bHanged &=	~(1<<(%1&31))
#define IsUserHanged(%1)		g_bHanged &	1<<(%1&31)

new Float:g_fVecMins[MAX_PLAYERS+1][3]
new Float:g_fVecMaxs[MAX_PLAYERS+1][3]
new Float:g_fVecOrigin[MAX_PLAYERS+1][3]

new g_iCost[2]

new bool:g_bRoundEnd

public plugin_init()
{
	register_plugin("Furien WallHang", VERSION, "ConnorMcLeod")

	new szConfigFile[128]
	get_localinfo("amxx_configsdir", szConfigFile, charsmax(szConfigFile))
	format(szConfigFile, charsmax(szConfigFile), "%s/furien/items/wallhang.ini", szConfigFile);

	new fp = fopen(szConfigFile, "rt")
	if( !fp )
	{
		return
	}

	new szFurienName[32], szAntiName[32]

	new szDatas[64], szKey[16], szValue[32]
	while( !feof(fp) )
	{
		fgets(fp, szDatas, charsmax(szDatas))
		trim(szDatas)
		if(!szDatas[0] || szDatas[0] == ';' || szDatas[0] == '#' || (szDatas[0] == '/' && szDatas[1] == '/'))
		{
			continue
		}

		parse(szDatas, szKey, charsmax(szKey), szValue, charsmax(szValue))

		switch( szKey[0] )
		{
			case 'A':
			{
				switch( szKey[7] )
				{
					case 'M':
					{
						if( equal(szKey, "ANTI_NAME" ) )
						{
							copy(szAntiName, charsmax(szAntiName), szValue)
						}
					}
					case 'S':
					{
						if( equal(szKey, "ANTI_COST" ) )
						{
							g_iCost[AntiFurien] = str_to_num(szValue)
						}
					}
				}
			}
			case 'F':
			{
				switch( szKey[9] )
				{
					case 'M':
					{
						if( equal(szKey, "FURIEN_NAME" ) )
						{
							copy(szFurienName, charsmax(szAntiName), szValue)
						}
					}
					case 'S':
					{
						if( equal(szKey, "FURIEN_COST" ) )
						{
							g_iCost[Furien] = str_to_num(szValue)
						}
					}
				}
			}
		}
	}
	fclose( fp )

	if( g_iCost[Furien] || g_iCost[AntiFurien] )
	{
		furien_register_item(szFurienName, g_iCost[Furien], szAntiName, g_iCost[AntiFurien], "furien_buy_wallhang")

		RegisterHam(Ham_Player_Jump, "player", "Player_Jump")

		RegisterHam(Ham_Touch, "func_wall", "World_Touch")
		RegisterHam(Ham_Touch, "func_breakable", "World_Touch")
		RegisterHam(Ham_Touch, "worldspawn", "World_Touch")

		g_iMaxPlayers = get_maxplayers()	

		register_event("HLTV", "Event_HLTV_New_Round", "a", "1=0", "2=0")
		register_logevent("Logevent_Round_End", 2, "1=Round_End")
	}
}

public Event_HLTV_New_Round()
{
	g_bRoundEnd = false
}

public Logevent_Round_End()
{
	g_bRoundEnd = true
	g_bHanged = 0
}

public client_putinserver( id )
{
	RemoveUserWallHang( id )
	RemoveUserHanged( id )
}

public furien_team_change( /*iFurien */ )
{
	if( !g_iCost[Furien] || !g_iCost[AntiFurien] )
	{
		g_bHasWallHang = 0
		g_bHanged = 0
	}
}

public furien_round_restart()
{
	g_bHasWallHang = 0
	g_bHanged = 0
}

public furien_buy_wallhang( id )
{
	new iTeam = furien_get_user_team(id)
	if( iTeam == -1 )
	{
		return ShopCloseMenu
	}

	new iItemCost = g_iCost[iTeam]
	if( iItemCost <= 0 )
	{
		return ShopTeamNotAvail
	}

	if( ~HasUserWallHang(id) )
	{
		if( furien_try_buy(id, iItemCost) )
		{
			SetUserWallHang( id )
			return ShopBought
		}
		else
		{
			return ShopNotEnoughMoney
		}
	}
	return ShopAlreadyHaveOne
}

public Player_Jump(id)
{
	if(	g_bRoundEnd
	||	~HasUserWallHang(id)
	||	~IsUserHanged(id)
	||	!is_user_alive(id)	)
	{
		return HAM_IGNORED
	}

	if( (pev(id, pev_flags) & FL_WATERJUMP) || pev(id, pev_waterlevel) >= 2 )
	{
		return HAM_IGNORED
	}

	static afButtonPressed ; afButtonPressed = get_pdata_int(id, m_afButtonPressed)

	if( ~afButtonPressed & IN_JUMP )
	{
		return HAM_IGNORED
	}

	RemoveUserHanged(id)

	new Float:fVecVelocity[3]

	velocity_by_aim(id, 600, fVecVelocity)
	set_pev(id, pev_velocity, fVecVelocity)

	set_pdata_int(id, m_Activity, ACT_HOP)
	set_pdata_int(id, m_IdealActivity, ACT_HOP)
	set_pev(id, pev_gaitsequence, PLAYER_JUMP)
	set_pev(id, pev_frame, 0.0)
	set_pdata_int(id, m_afButtonPressed, afButtonPressed & ~IN_JUMP)

	return HAM_SUPERCEDE
}


public client_PostThink(id)
{
	if( HasUserWallHang(id) && IsUserHanged(id) )
	{
		engfunc(EngFunc_SetSize, id, g_fVecMins[ id ], g_fVecMaxs[ id ])
		engfunc(EngFunc_SetOrigin, id, g_fVecOrigin[ id ])
		set_pev(id, pev_velocity, 0)
		set_pdata_float(id, m_flNextAttack, 1.0, XTRA_OFS_PLAYER)
	}
}

public World_Touch(iEnt, id)
{
	if(	!g_bRoundEnd
	&&	IsPlayer(id)
	&&	HasUserWallHang(id)
	&&	~IsUserHanged(id)
	&&	is_user_alive(id)
	&&	pev(id, pev_button) & IN_USE
	&&	~pev(id, pev_flags) & FL_ONGROUND	)
	{
		SetUserHanged(id)
		pev(id, pev_mins, g_fVecMins[id])
		pev(id, pev_maxs, g_fVecMaxs[id])
		pev(id, pev_origin, g_fVecOrigin[id])
	}
}
Astfel in ca la inceputu rundei la Ts sa le dea WallHang iar la sfarsit sa il ia si urmatoareea runda la fel doar la Furieni
No signature.
mezzzu
Membru eXtream
Membru eXtream
Posts: 2235
Joined: 19 Dec 2010, 17:31
Detinator Steam: Da
CS Status: Working...
Reputatie: Utilizator neserios (tepar)
Fost manager FURIEN.EXTREAMCS.COM
Restrictie moderator
Has thanked: 85 times
Been thanked: 136 times

10 Jul 2012, 14:26

Habar nu ai ca exista asa ceva la mine pe server a?

Nici nu ai intrat vreodata nu ?

07/01/2012 - 15:19:10: Player OwN3d#WTF?! connected (STEAM_ID_LAN) (IP: 82.137.13.40)
OwN3d#WTF?!
Membru, skill +1
Membru, skill +1
Posts: 109
Joined: 18 Jun 2012, 21:11
Detinator Steam: Da
CS Status: Vreau sa invat scripting
Has thanked: 11 times
Been thanked: 6 times
Contact:

10 Jul 2012, 14:47

Am zis ca habar n-am sa fac pluginu stiu despre sv tau am intrat e frumos dar sa fim seriosi e o difernta intre vipu care il vreau eu si cel care il ai tu
Tu faci crize :-@ daca cineva vrea un plugin identic cu a tau tu daca vezi ceva iti insushesti Gata e a meu cine il mai ia e copiator... :))

PS : VEZI ca ala nu e ip-u meu
No signature.
User avatar
K1d0x
Fost moderator
Fost moderator
Posts: 800
Joined: 26 Feb 2012, 15:57
Detinator Steam: Da
CS Status: We Build Together ;3 RedFear
Detinator server CS: PuB.RedFear.Ro
SteamID: k1dox
Reputatie: Fost moderator ajutator
Location: Reșița
Been thanked: 152 times
Contact:

10 Jul 2012, 15:36

OwN3d#WTF?! tu nu stii ce inseamna Sa fii original, nici mie nu mi-ar convenii sa vad ca ma copiaza cineva dar putin imi pasa daca asa mentalitate avem noi (Romanii)

PS: ceea ce vrei tu deja e prea complicat ca sa ma pun sa til fac !
Image
32slots.net - Sursa ta de încredere de KIT-uri CS 1.6
RedFear.Ro România - | Afiseaza codul
Vă aştept cu un Register pe Forum
- Suntem în căutare de Dezvoltatori & Administratori :
HTML
PHP
MYSQL
C++
Ofer Server CS spre administrare | Afiseaza codul
Condiții : 
- Să dispui de timp liber
- Să ai cunoștințe AMXX & HLDS
Boostul este asigurat de către Mine (PM pentru. detalii)
ik1d0x@redfear.ro
OwN3d#WTF?!
Membru, skill +1
Membru, skill +1
Posts: 109
Joined: 18 Jun 2012, 21:11
Detinator Steam: Da
CS Status: Vreau sa invat scripting
Has thanked: 11 times
Been thanked: 6 times
Contact:

10 Jul 2012, 15:42

K1d0x wrote:OwN3d#WTF?! tu nu stii ce inseamna Sa fii original, nici mie nu mi-ar convenii sa vad ca ma copiaza cineva dar putin imi pasa daca asa mentalitate avem noi (Romanii)

PS: ceea ce vrei tu deja e prea complicat ca sa ma pun sa til fac !
NU INTELEG Frate intra pe sv lu MzU si spunemi sincer vezi la el la functia vip wallhang gratuit Parasuta gratuita si ce am mai zis eu??
Singuru lucru care se regaseste este acel 16000$
No signature.
Post Reply

Return to “Cereri”

  • Information
  • Who is online

    Users browsing this forum: No registered users and 29 guests