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
Scooby112
Membru, skill +1
Membru, skill +1
Posts: 418
Joined: 02 Aug 2009, 16:10
Detinator Steam: Da
CS Status: Am server de WAR3FT New Races, New items
Detinator server CS: Detin War3
SteamID: hunterforall
Location: Bucuresti
Has thanked: 35 times
Been thanked: 17 times
Contact:

18 Dec 2012, 21:16

buna seara.

am acest plugin.. -->
mesaj_hud.sma | Afiseaza codul
#include <amxmodx>

#define PLUGIN "Auto Center Msg"
#define VERSION "1.0"
#define AUTHOR "Rusu" // o.O

#define TASK_INTERVAL 8.0

new const hud_messages[][] = {
	
	"Powered by HunteR !",
	"This mod is now PAINTBALL",
	"Your gun is stuck?! You Fo0L, use E"
};
public plugin_init()
{
	register_plugin( PLUGIN, VERSION, AUTHOR );
	set_task( TASK_INTERVAL, "RandomHudWithRandomColors", 0, "", 0, "b"  );
}
public RandomHudWithRandomColors()
{
	set_hudmessage(255, 255, 255, 0.03, 0.66, 0, 3.0, 3.0, 0.10, 0.10, 1)
	show_hudmessage( 0, "%s", hud_messages[ random_num( 0, charsmax( hud_messages ) ) ] );
}
Acesta imi pune mesajul in stanga, nitel deasupra la CHAT...totul ok, mie imi convine asta, dar as mai dori o imbunatatire la el daca se poate...puteti sa ma ADAUGATI un mesaj care sa apara fix nitel deasupra centrului ? adica pe pozitia imessage-ului ..banuiesc ca stiti cu totii unde apar mesajele amx_imessage nu ? e..eu pe acea pozitie vreau mesajul..

deci sa recapitulam..acest plugin, nu vreau sa-i modificati pozitia mesajului HUD, vreau sa mai adaugati inca o pozitie, cea de la imessage, dar sa poti sa pui alte mesaje fata de cele care sunt puse deja sa apara in stanga...deci separat mesajele...mesaje pentru stanga ecranului(care e deja facut..v-am dat pluginul), si mesaje pentru centrul ecranului..(asta va cer eu)...

nu-mi spuneti sa pun 2 pluginuri de mesaje HUD...pentru ca o sa va zic instant...NU...de ce ?

1.Nu merg incarcate amandoua..nu stiu de ce..e fitos serverul meu..
2.Imi da la juma de server timed out...asa ca prefer doar un plugin..mai complex..decat doua...care unu nu merge, si imi mai da si la jucatori timed out, sau sv_getspace...
Contact Y!M: war3.staff

War3FT, versiune Privata. Mod facut de ONEMDX
Image
RoyalServer
User avatar
Rap^
Membru, skill +2
Membru, skill +2
Posts: 621
Joined: 01 Oct 2011, 00:25
Detinator Steam: Da
Reputatie: Fost Scripter eXtreamCS
Fost Super moderator
Location: Bucuresti
Has thanked: 16 times
Been thanked: 156 times

18 Dec 2012, 21:40

| Afiseaza codul
#include <amxmodx>

#define PLUGIN "Auto Center Msg"
#define VERSION "1.0"
#define AUTHOR "Rusu" // o.O

#define TASK_INTERVAL 8.0

new const hud_messages[][] = {
	
	"Powered by HunteR !",
	"This mod is now PAINTBALL",
	"Your gun is stuck?! You Fo0L, use E"
};

new g_SyncHud, g_SyncHud2;

public plugin_init()
{
	register_plugin( PLUGIN, VERSION, AUTHOR );
	set_task( TASK_INTERVAL, "RandomHudWithRandomColors", 0, "", 0, "b"  );
	
	g_SyncHud = CreateHudSyncObj();
	g_SyncHud2 = CreateHudSyncObj();
}
public RandomHudWithRandomColors()
{
	set_hudmessage(255, 255, 255, 0.03, 0.66, 0, 3.0, 3.0, 0.10, 0.10, 1)
	ShowSyncHudMsg(0, g_SyncHud, "%s", hud_messages[ random_num( 0, charsmax( hud_messages ) ) ] );
	
	set_hudmessage(255, 255, 255, 0.03, 0.66, 0, 3.0, 3.0, 0.10, 0.10, 2)
	ShowSyncHudMsg(0, g_SyncHud2, "%s", hud_messages[ random_num( 0, charsmax( hud_messages ) ) ] );
}
Imagination is more important than knowledge.
Knowledge is limited - Imagination encircles the world.
User avatar
Scooby112
Membru, skill +1
Membru, skill +1
Posts: 418
Joined: 02 Aug 2009, 16:10
Detinator Steam: Da
CS Status: Am server de WAR3FT New Races, New items
Detinator server CS: Detin War3
SteamID: hunterforall
Location: Bucuresti
Has thanked: 35 times
Been thanked: 17 times
Contact:

19 Dec 2012, 11:30

rap..scuzele mele, am uitat sa mai precizez ceva...

1.pentru cel care apare in CENTER ...vreau sa am alt set de mesaje...banuiesc ca asa:
alt set de mesaje | Afiseaza codul
new const hud_messages2[][] = {
	
	"Add multimod.cs1.ro to Favorites",
	"etc",
	"etc"
};
2.poti sa-i adaugi un interval de timp si pentru mesajul CENTER ?nu vreau amandoua sa foloseasca acelasi interval de timp..te rog...daca se poate.
Contact Y!M: war3.staff

War3FT, versiune Privata. Mod facut de ONEMDX
Image
User avatar
Rap^
Membru, skill +2
Membru, skill +2
Posts: 621
Joined: 01 Oct 2011, 00:25
Detinator Steam: Da
Reputatie: Fost Scripter eXtreamCS
Fost Super moderator
Location: Bucuresti
Has thanked: 16 times
Been thanked: 156 times

19 Dec 2012, 19:24

| Afiseaza codul
#include <amxmodx>

#define PLUGIN "Auto Center Msg"
#define VERSION "1.0"
#define AUTHOR "Rusu" // o.O

#define TASK_INTERVAL 8.0
#define TASK_INTERVAL2 16.0

new const hud_messages[][] = {
	
	"Powered by HunteR !",
	"This mod is now PAINTBALL",
	"Your gun is stuck?! You Fo0L, use E"
};
new const hud_messages2[][] = {
	
	"Mesaj",
	"Mesaj2",
	"Mesaj3"
};

new g_SyncHud, g_SyncHud2;

public plugin_init()
{
	register_plugin( PLUGIN, VERSION, AUTHOR );
	set_task( TASK_INTERVAL, "RandomHudWithRandomColors", 0, "", 0, "b"  );
	
	set_task( TASK_INTERVAL2, "RandomHudWithRandomColors2", 0, "", 0, "b"  );
	
	g_SyncHud = CreateHudSyncObj();
	g_SyncHud2 = CreateHudSyncObj();
}
public RandomHudWithRandomColors()
{
	set_hudmessage(255, 255, 255, 0.03, 0.66, 0, 3.0, 3.0, 0.10, 0.10, 1)
	ShowSyncHudMsg(0, g_SyncHud, "%s", hud_messages[ random_num( 0, charsmax( hud_messages ) ) ] );
}
public RandomHudWithRandomColors2()
{
	set_hudmessage(255, 255, 255, 0.03, 0.66, 0, 3.0, 3.0, 0.10, 0.10, 2)
	ShowSyncHudMsg(0, g_SyncHud2, "%s", hud_messages2[ random_num( 0, charsmax( hud_messages ) ) ] );
}
Imagination is more important than knowledge.
Knowledge is limited - Imagination encircles the world.
Post Reply

Return to “Cereri”

  • Information