Plugin bhop mesaj colorat [rezolvat]

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 .
kosmo1994
Membru, skill +1
Membru, skill +1
Posts: 278
Joined: 12 May 2013, 10:15
Detinator Steam: Nu
CS Status: dr.legendcs.com
Detinator server CS: dr.legendcs.com
SteamID: dr.legendcs.com
Has thanked: 77 times
Been thanked: 26 times
Contact:

29 May 2013, 00:27

Am si eu un sma de bhop care moder ma ajutat sa il fac colorat mesaju dar imi apare din 30 in 30 de secunde cate un mesaj si la intrare imi apare cate 8 odata .. :|
Dar eu vreau sa apara de 1-2 ori prima data cand intri pe server dupa sa nu mai apara ..
| Afiseaza codul
/*
 *
 *	Author:		homorapian
 *	Date:		14-Aug-2005 
 *
 *
 *	what it is..	It is a bunnyhop that removes the slowdown after a jump. hold it to go faster
 *
 *	Cvars:
 *			bh_enabled		1 to enable this plugin, 0 to disable.
 *			bh_autojump		If set to 1 players just need to hold down jump to bunny hop (no skill required)
 *			bh_showusage		If set to 1 it will inform joining players that bunny hopping has been enabled
 *						and how to use it if bh_autojump enabled.
 *
 *	Requirements:	amxmodx 1.01 or higher
 *
 *  ************************ I LEARNED THIS PLUGIN FROM ANOTHER Bunnyhop PLUGIN*************************************
 */

#include <amxmodx>
#include <engine>
#define TAG "INFO"

#define	FL_WATERJUMP	(1<<11)	// popping out of the water
#define	FL_ONGROUND	(1<<9)	// not moving on the ground

public plugin_init() {
	register_plugin("Bhop", "1.0", "homorapian")
	register_cvar("sbhopper_version", "1.0", FCVAR_SERVER)

	register_cvar("bh_enabled", "1")
	register_cvar("bh_autojump", "1")
	register_cvar("bh_showusage", "1")
}

public client_PreThink(id) {
	if (!get_cvar_num("bh_enabled"))
		return PLUGIN_CONTINUE

	entity_set_float(id, EV_FL_fuser2, 0.0)		// Won't slow down after a jump

	if (!get_cvar_num("bh_autojump"))
		return PLUGIN_CONTINUE

	if (entity_get_int(id, EV_INT_button) & 2) {	
		new flags = entity_get_int(id, EV_INT_flags)

		if (flags & FL_WATERJUMP)
			return PLUGIN_CONTINUE
		if ( entity_get_int(id, EV_INT_waterlevel) >= 2 )
			return PLUGIN_CONTINUE
		if ( !(flags & FL_ONGROUND) )
			return PLUGIN_CONTINUE

		new Float:velocity[3]
		entity_get_vector(id, EV_VEC_velocity, velocity)
		velocity[2] += 250.0
		entity_set_vector(id, EV_VEC_velocity, velocity)

		entity_set_int(id, EV_INT_gaitsequence, 6)	// Jump graphics
	}
	return PLUGIN_CONTINUE
}

public client_authorized(id)
	set_task(30.0, "showUsage" )

public showUsage(id) {
	if ( !get_cvar_num("bh_enabled") || !get_cvar_num("bh_showusage") )
		return PLUGIN_HANDLED

	xColor( 0, "!nBunnyHop este activat pe acest server, puteti sari." );
}
stock xColor(const id, const input[], any:...)
{
	new count = 1, players[32]
	static msg[320], msg2[320]
	vformat(msg, 190, input, 3)
	format(msg2, 190, "!g[!g%s!g] %s", TAG, msg)
	replace_all(msg2, 190, "!g", "^4")
	replace_all(msg2, 190, "!n", "^1")
	replace_all(msg2, 190, "!t", "^3")
	replace_all(msg2, 190, "!t2", "^0")
	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(msg2)
			message_end()
		}
	}
}
/* AMXX-Studio Notes - DO NOT MODIFY BELOW HERE
*{\\ rtf1\\ ansi\\ deff0{\\ fonttbl{\\ f0\\ fnil Tahoma;}}\n\\ viewkind4\\ uc1\\ pard\\ lang1033\\ f0\\ fs16 \n\\ par }
*/

Sper ca ati inteles si sa ma ajutati :)
Last edited by kosmo1994 on 29 May 2013, 19:12, edited 1 time in total.
Image
Image
Image
RoyalServer 2
User avatar
Nubo
Fost moderator
Fost moderator
Posts: 2734
Joined: 11 Jul 2012, 18:45
Detinator Steam: Da
CS Status: [əˈnɒn.ɪ.məs]
Reputatie: Fost scripter eXtreamCS
Fost eXtream Mod
Has thanked: 8 times
Been thanked: 27 times

29 May 2013, 00:32

O fi aici cauza, cred:

Code: Select all

public client_authorized(id)
	set_task(30.0, "showUsage" )
Se autorizeaza 4 jucatori, este chemata functia de 4 ori.
Cand nu merge acest forum sunt online aici:
  • * Skype: nubo_cs
    * Y!M ID: nubo_cs
kosmo1994
Membru, skill +1
Membru, skill +1
Posts: 278
Joined: 12 May 2013, 10:15
Detinator Steam: Nu
CS Status: dr.legendcs.com
Detinator server CS: dr.legendcs.com
SteamID: dr.legendcs.com
Has thanked: 77 times
Been thanked: 26 times
Contact:

29 May 2013, 00:55

Nubo wrote:O fi aici cauza, cred:

Code: Select all

public client_authorized(id)
	set_task(30.0, "showUsage" )
Se autorizeaza 4 jucatori, este chemata functia de 4 ori.
pai asa a fost si inaite si imi apare de 3 ori ,inaite cand era necolorat el simplu dupa net .. :| Vreau sa imi apara de 2 ori macar si doar odata nu sa aapra de 8 ori la intrare pe server si dupa sa mai apara din 30 in 30 secunde cam asa .. :|
Image
Image
Image
munir
Membru eXtream
Membru eXtream
Posts: 3193
Joined: 30 Aug 2012, 22:16
Detinator Steam: Da
CS Status: Fost scripter
Detinator server CS: Nu
SteamID: -
Reputatie: Fost super moderator
Restrictie schimbare nume
Nume anterior: falseq, cruyff
Location: Bucuresti
Has thanked: 342 times
Been thanked: 571 times
Contact:

29 May 2013, 09:56

public client_authorized(id
->
public client_putinserver( id )
Sau
public client_connect( id )
Vezi care merge..
Retras
kosmo1994
Membru, skill +1
Membru, skill +1
Posts: 278
Joined: 12 May 2013, 10:15
Detinator Steam: Nu
CS Status: dr.legendcs.com
Detinator server CS: dr.legendcs.com
SteamID: dr.legendcs.com
Has thanked: 77 times
Been thanked: 26 times
Contact:

29 May 2013, 11:47

Niciuna moder :| am2 fac la fel le-am incercat :| dar tot la fel apare cand intri de 7 ori si dupa apare si in timpu partidei ..
Image
Image
Image
Askwrite
Moderator ajutator
Moderator ajutator
Posts: 345
Joined: 26 Apr 2013, 21:59
Detinator Steam: Da
CS Status: Scriptez...!
Reputatie: Fost moderator ajutator
Has thanked: 6 times
Been thanked: 55 times
Contact:

29 May 2013, 11:58

| Afiseaza codul
/*
 *
 *	Author:		homorapian
 *	Date:		14-Aug-2005 
 *
 *
 *	what it is..	It is a bunnyhop that removes the slowdown after a jump. hold it to go faster
 *
 *	Cvars:
 *			bh_enabled		1 to enable this plugin, 0 to disable.
 *			bh_autojump		If set to 1 players just need to hold down jump to bunny hop (no skill required)
 *			bh_showusage		If set to 1 it will inform joining players that bunny hopping has been enabled
 *						and how to use it if bh_autojump enabled.
 *
 *	Requirements:	amxmodx 1.01 or higher
 *
 *  ************************ I LEARNED THIS PLUGIN FROM ANOTHER Bunnyhop PLUGIN*************************************
 */

#include <amxmodx>
#include <engine>
#define TAG "INFO"

#define	FL_WATERJUMP	(1<<11)	// popping out of the water
#define	FL_ONGROUND	(1<<9)	// not moving on the ground

public plugin_init() {
	register_plugin("Bhop", "1.0", "homorapian")
	register_cvar("sbhopper_version", "1.0", FCVAR_SERVER)

	register_cvar("bh_enabled", "1")
	register_cvar("bh_autojump", "1")
	register_cvar("bh_showusage", "1")
}

public client_PreThink(id) {
	if (!get_cvar_num("bh_enabled"))
		return PLUGIN_CONTINUE

	entity_set_float(id, EV_FL_fuser2, 0.0)		// Won't slow down after a jump

	if (!get_cvar_num("bh_autojump"))
		return PLUGIN_CONTINUE

	if (entity_get_int(id, EV_INT_button) & 2) {	
		new flags = entity_get_int(id, EV_INT_flags)

		if (flags & FL_WATERJUMP)
			return PLUGIN_CONTINUE
		if ( entity_get_int(id, EV_INT_waterlevel) >= 2 )
			return PLUGIN_CONTINUE
		if ( !(flags & FL_ONGROUND) )
			return PLUGIN_CONTINUE

		new Float:velocity[3]
		entity_get_vector(id, EV_VEC_velocity, velocity)
		velocity[2] += 250.0
		entity_set_vector(id, EV_VEC_velocity, velocity)

		entity_set_int(id, EV_INT_gaitsequence, 6)	// Jump graphics
	}
	return PLUGIN_CONTINUE
}

public client_authorized(id) {
	set_task(30.0, "showUsage", id)
}

public showUsage(id) {
	if ( !get_cvar_num("bh_enabled") || !get_cvar_num("bh_showusage") )
		return PLUGIN_HANDLED

	xColor(id, "!nBunnyHop este activat pe acest server, puteti sari." );
}
stock xColor(const id, const input[], any:...)
{
	new count = 1, players[32]
	static msg[320], msg2[320]
	vformat(msg, 190, input, 3)
	format(msg2, 190, "!g[!g%s!g] %s", TAG, msg)
	replace_all(msg2, 190, "!g", "^4")
	replace_all(msg2, 190, "!n", "^1")
	replace_all(msg2, 190, "!t", "^3")
	replace_all(msg2, 190, "!t2", "^0")
	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(msg2)
			message_end()
		}
	}
}
/* AMXX-Studio Notes - DO NOT MODIFY BELOW HERE
*{\\ rtf1\\ ansi\\ deff0{\\ fonttbl{\\ f0\\ fnil Tahoma;}}\n\\ viewkind4\\ uc1\\ pard\\ lang1033\\ f0\\ fs16 \n\\ par }
*/

Sunteti voi prea destepti. (Moder)
munir
Membru eXtream
Membru eXtream
Posts: 3193
Joined: 30 Aug 2012, 22:16
Detinator Steam: Da
CS Status: Fost scripter
Detinator server CS: Nu
SteamID: -
Reputatie: Fost super moderator
Restrictie schimbare nume
Nume anterior: falseq, cruyff
Location: Bucuresti
Has thanked: 342 times
Been thanked: 571 times
Contact:

29 May 2013, 12:05

AskWrite wrote:
| Afiseaza codul
/*
 *
 *	Author:		homorapian
 *	Date:		14-Aug-2005 
 *
 *
 *	what it is..	It is a bunnyhop that removes the slowdown after a jump. hold it to go faster
 *
 *	Cvars:
 *			bh_enabled		1 to enable this plugin, 0 to disable.
 *			bh_autojump		If set to 1 players just need to hold down jump to bunny hop (no skill required)
 *			bh_showusage		If set to 1 it will inform joining players that bunny hopping has been enabled
 *						and how to use it if bh_autojump enabled.
 *
 *	Requirements:	amxmodx 1.01 or higher
 *
 *  ************************ I LEARNED THIS PLUGIN FROM ANOTHER Bunnyhop PLUGIN*************************************
 */

#include <amxmodx>
#include <engine>
#define TAG "INFO"

#define	FL_WATERJUMP	(1<<11)	// popping out of the water
#define	FL_ONGROUND	(1<<9)	// not moving on the ground

public plugin_init() {
	register_plugin("Bhop", "1.0", "homorapian")
	register_cvar("sbhopper_version", "1.0", FCVAR_SERVER)

	register_cvar("bh_enabled", "1")
	register_cvar("bh_autojump", "1")
	register_cvar("bh_showusage", "1")
}

public client_PreThink(id) {
	if (!get_cvar_num("bh_enabled"))
		return PLUGIN_CONTINUE

	entity_set_float(id, EV_FL_fuser2, 0.0)		// Won't slow down after a jump

	if (!get_cvar_num("bh_autojump"))
		return PLUGIN_CONTINUE

	if (entity_get_int(id, EV_INT_button) & 2) {	
		new flags = entity_get_int(id, EV_INT_flags)

		if (flags & FL_WATERJUMP)
			return PLUGIN_CONTINUE
		if ( entity_get_int(id, EV_INT_waterlevel) >= 2 )
			return PLUGIN_CONTINUE
		if ( !(flags & FL_ONGROUND) )
			return PLUGIN_CONTINUE

		new Float:velocity[3]
		entity_get_vector(id, EV_VEC_velocity, velocity)
		velocity[2] += 250.0
		entity_set_vector(id, EV_VEC_velocity, velocity)

		entity_set_int(id, EV_INT_gaitsequence, 6)	// Jump graphics
	}
	return PLUGIN_CONTINUE
}

public client_authorized(id) {
	set_task(30.0, "showUsage", id)
}

public showUsage(id) {
	if ( !get_cvar_num("bh_enabled") || !get_cvar_num("bh_showusage") )
		return PLUGIN_HANDLED

	xColor(id, "!nBunnyHop este activat pe acest server, puteti sari." );
}
stock xColor(const id, const input[], any:...)
{
	new count = 1, players[32]
	static msg[320], msg2[320]
	vformat(msg, 190, input, 3)
	format(msg2, 190, "!g[!g%s!g] %s", TAG, msg)
	replace_all(msg2, 190, "!g", "^4")
	replace_all(msg2, 190, "!n", "^1")
	replace_all(msg2, 190, "!t", "^3")
	replace_all(msg2, 190, "!t2", "^0")
	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(msg2)
			message_end()
		}
	}
}
/* AMXX-Studio Notes - DO NOT MODIFY BELOW HERE
*{\\ rtf1\\ ansi\\ deff0{\\ fonttbl{\\ f0\\ fnil Tahoma;}}\n\\ viewkind4\\ uc1\\ pard\\ lang1033\\ f0\\ fs16 \n\\ par }
*/

Sunteti voi prea destepti. (Moder)

Mori de ciudata :> fierbe ciuda in tine =)) mare scripter hahaha
Ce ai modificat :> ? Nu ma inveti si pe mine scripting :-/\
@ Kosmoe, la mine arata odata mesajul, (30 de secunde dp. intrarea pe server), la pluginul dat de tine..

Code: Select all

public showUsage(id) {
	if ( !get_cvar_num("bh_enabled") || !get_cvar_num("bh_showusage") )
		return PLUGIN_HANDLED

	xColor(id, "!nBunnyHop este activat pe acest server, puteti sari." );
}
->

Code: Select all

public showUsage(id) {
	if ( !get_cvar_num("bh_enabled") || !get_cvar_num("bh_showusage") )
		return PLUGIN_HANDLED
      
	xColor(id, "!nBunnyHop este activat pe acest server, puteti sari." );
return PLUGIN_CONTINUE;
}
Last edited by munir on 29 May 2013, 16:51, edited 2 times in total.
Retras
Askwrite
Moderator ajutator
Moderator ajutator
Posts: 345
Joined: 26 Apr 2013, 21:59
Detinator Steam: Da
CS Status: Scriptez...!
Reputatie: Fost moderator ajutator
Has thanked: 6 times
Been thanked: 55 times
Contact:

29 May 2013, 12:10

Am pus ID la task si la mesaj :*
Askwrite
Moderator ajutator
Moderator ajutator
Posts: 345
Joined: 26 Apr 2013, 21:59
Detinator Steam: Da
CS Status: Scriptez...!
Reputatie: Fost moderator ajutator
Has thanked: 6 times
Been thanked: 55 times
Contact:

29 May 2013, 12:12

| Afiseaza codul
/*
 *
 *	Author:		homorapian
 *	Date:		14-Aug-2005 
 *
 *
 *	what it is..	It is a bunnyhop that removes the slowdown after a jump. hold it to go faster
 *
 *	Cvars:
 *			bh_enabled		1 to enable this plugin, 0 to disable.
 *			bh_autojump		If set to 1 players just need to hold down jump to bunny hop (no skill required)
 *			bh_showusage		If set to 1 it will inform joining players that bunny hopping has been enabled
 *						and how to use it if bh_autojump enabled.
 *
 *	Requirements:	amxmodx 1.01 or higher
 *
 *  ************************ I LEARNED THIS PLUGIN FROM ANOTHER Bunnyhop PLUGIN*************************************
 */

#include <amxmodx>
#include <engine>
#define TAG "INFO"

#define	FL_WATERJUMP	(1<<11)	// popping out of the water
#define	FL_ONGROUND	(1<<9)	// not moving on the ground

public plugin_init() {
	register_plugin("Bhop", "1.0", "homorapian")
	register_cvar("sbhopper_version", "1.0", FCVAR_SERVER)

	register_cvar("bh_enabled", "1")
	register_cvar("bh_autojump", "1")
	register_cvar("bh_showusage", "1")
}

public client_PreThink(id) {
	if (!get_cvar_num("bh_enabled"))
		return PLUGIN_CONTINUE

	entity_set_float(id, EV_FL_fuser2, 0.0)		// Won't slow down after a jump

	if (!get_cvar_num("bh_autojump"))
		return PLUGIN_CONTINUE

	if (entity_get_int(id, EV_INT_button) & 2) {	
		new flags = entity_get_int(id, EV_INT_flags)

		if (flags & FL_WATERJUMP)
			return PLUGIN_CONTINUE
		if ( entity_get_int(id, EV_INT_waterlevel) >= 2 )
			return PLUGIN_CONTINUE
		if ( !(flags & FL_ONGROUND) )
			return PLUGIN_CONTINUE

		new Float:velocity[3]
		entity_get_vector(id, EV_VEC_velocity, velocity)
		velocity[2] += 250.0
		entity_set_vector(id, EV_VEC_velocity, velocity)

		entity_set_int(id, EV_INT_gaitsequence, 6)	// Jump graphics
	}
	return PLUGIN_CONTINUE
}

public client_putinserver(id) {
	set_task(30.0, "showUsage", id)
}

public showUsage(id) {
	if ( !get_cvar_num("bh_enabled") || !get_cvar_num("bh_showusage") )
		return PLUGIN_HANDLED

	xColor(id, "!nBunnyHop este activat pe acest server, puteti sari." );
}
stock xColor(const id, const input[], any:...)
{
	new count = 1, players[32]
	static msg[320], msg2[320]
	vformat(msg, 190, input, 3)
	format(msg2, 190, "!g[!g%s!g] %s", TAG, msg)
	replace_all(msg2, 190, "!g", "^4")
	replace_all(msg2, 190, "!n", "^1")
	replace_all(msg2, 190, "!t", "^3")
	replace_all(msg2, 190, "!t2", "^0")
	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(msg2)
			message_end()
		}
	}
}
/* AMXX-Studio Notes - DO NOT MODIFY BELOW HERE
*{\\ rtf1\\ ansi\\ deff0{\\ fonttbl{\\ f0\\ fnil Tahoma;}}\n\\ viewkind4\\ uc1\\ pard\\ lang1033\\ f0\\ fs16 \n\\ par }
*/

Ia asa , daca nu merge ala.
User avatar
cyby
Scripter eXtreamCS
Scripter eXtreamCS
Posts: 1777
Joined: 16 Jul 2011, 21:46
Detinator Steam: Da
Detinator server CS: Da
Reputatie: Scripter eXtreamCS
Fost Moderator ajutator
Has thanked: 146 times
Been thanked: 396 times

29 May 2013, 12:25

| Afiseaza codul
#include <amxmodx>
#include <engine>
#define TAG "INFO"

#define	FL_WATERJUMP	(1<<11)
#define	FL_ONGROUND	(1<<9)

public plugin_init() 
{
	register_plugin("Bhop", "1.0", "homorapian")
	register_cvar("sbhopper_version", "1.0", FCVAR_SERVER)

	register_cvar("bh_enabled", "1")
	register_cvar("bh_autojump", "1")
	register_cvar("bh_showusage", "1")
}

public client_PreThink(id)
 {
	if (!get_cvar_num("bh_enabled"))
		return PLUGIN_CONTINUE

	entity_set_float(id, EV_FL_fuser2, 0.0)		// Won't slow down after a jump

	if (!get_cvar_num("bh_autojump"))
		return PLUGIN_CONTINUE

	if (entity_get_int(id, EV_INT_button) & 2) {	
		new flags = entity_get_int(id, EV_INT_flags)

		if (flags & FL_WATERJUMP)
			return PLUGIN_CONTINUE
		if ( entity_get_int(id, EV_INT_waterlevel) >= 2 )
			return PLUGIN_CONTINUE
		if ( !(flags & FL_ONGROUND) )
			return PLUGIN_CONTINUE

		new Float:velocity[3]
		entity_get_vector(id, EV_VEC_velocity, velocity)
		velocity[2] += 250.0
		entity_set_vector(id, EV_VEC_velocity, velocity)

		entity_set_int(id, EV_INT_gaitsequence, 6)	// Jump graphics
	}
	return PLUGIN_CONTINUE
}

public client_putinserver(id) 
{
	set_task(6.0, "showUsage", id+1221)
}

public client_disconnect(id)
{
	if(task_exists(id+1221))
	{
		remove_task(id+1221)
	}
}

public showUsage(id) 
{
	if ( !get_cvar_num("bh_enabled") || !get_cvar_num("bh_showusage") )
		return PLUGIN_HANDLED

	xColor(id, "!nBunnyHop este activat pe acest server, puteti sari." );
}
stock xColor(const id, const input[], any:...)
{
	new count = 1, players[32]
	static msg[320], msg2[320]
	vformat(msg, 190, input, 3)
	format(msg2, 190, "!g[!g%s!g] %s", TAG, msg)
	replace_all(msg2, 190, "!g", "^4")
	replace_all(msg2, 190, "!n", "^1")
	replace_all(msg2, 190, "!t", "^3")
	replace_all(msg2, 190, "!t2", "^0")
	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(msg2)
			message_end()
		}
	}
}
93.114.82.17:27015 - Monster Invasion CO-OP Mod
kosmo1994
Membru, skill +1
Membru, skill +1
Posts: 278
Joined: 12 May 2013, 10:15
Detinator Steam: Nu
CS Status: dr.legendcs.com
Detinator server CS: dr.legendcs.com
SteamID: dr.legendcs.com
Has thanked: 77 times
Been thanked: 26 times
Contact:

29 May 2013, 16:46

AskWrite mersi merge poti spune ce ai modificat ca sa stiu si eu pe viitor si alti daca mai au nevoie de asa ceva :)
Va multumesc la toti care au incercat sa ma ajute ;)
Image
Image
Image
Askwrite
Moderator ajutator
Moderator ajutator
Posts: 345
Joined: 26 Apr 2013, 21:59
Detinator Steam: Da
CS Status: Scriptez...!
Reputatie: Fost moderator ajutator
Has thanked: 6 times
Been thanked: 55 times
Contact:

29 May 2013, 19:06

trebuia sa ai id la set_task :

Code: Select all

set_task(30.0, "showUsage")
in:

Code: Select all

set_task(30.0, "showUsage", id)
Iar la mesaj :

Code: Select all

xColor(0, "!nBunnyHop este activat pe acest server, puteti sari." );
in:

Code: Select all

xColor(id, "!nBunnyHop este activat pe acest server, puteti sari." );
Daca e 0 - va aplica "comanda" la toti playerii , daca e id, va aplica "comanda" doar la cel care o foloseste.
Si neaparat trebuie sa ai id la public , gen showUsage( id ) {
Post Reply

Return to “Cereri”

  • Information
  • Who is online

    Users browsing this forum: Bing [Bot] and 39 guests