Cerere Plugin Hud

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
Vyseer
Membru, skill 0
Membru, skill 0
Posts: 62
Joined: 14 Jul 2011, 22:30
Detinator Steam: Da
CS Status: Băntui pe forumul eXtreamCS.com...!
Has thanked: 56 times
Been thanked: 1 time
Contact:

19 May 2013, 15:54

As dori un plugin care sa afiseze in permanenta un mesaj permanent dhud

Ce sa faca Mesajul?

Pai sa creasca in fiecare runda cu cate o unitate si sa inceapa de la 0(prima runda sa apara 0)

cu acest cod
| Afiseaza codul
set_dhudmessage(0, 255, 0, 0.90, 0.15, x, x, x, x, x);
RoyalServer 2
User avatar
Rony
Utilizator neserios (tepar)
Utilizator neserios (tepar)
Posts: 966
Joined: 11 Mar 2013, 11:43
Detinator Steam: Da
CS Status: CO-FOUNDER BETANO
Detinator server CS: CS1.6 , CS:GO
SteamID: 31r1
Reputatie: Membru Club eXtreamCS (1 luna)
Membru Club eXtreamCs (28 Feb)
Utilizator neserios (tepar)
Location: NAPOLI
Has thanked: 173 times
Been thanked: 66 times
Contact:

19 May 2013, 16:25

nu am gasit ce vroiai sa spui,dar am vazut ca nu ti-a raspun nimeni la acest mesaj si poate te ajuta un mesaj permanent in hud sus :) in loc de mesajul tau modifici cu ce vrei.

Code: Select all

#include <amxmodx>

#pragma semicolon 1

static const PLUGIN[ ]= "Hud Permanent";
static const VERSION[ ]= "1.0";
static const AUTHOR[ ]= "Rap";

static const g_szB[ ]= "b";
static const g_szMessage[ ]= "MESAJUL TAU";

new SyncHudMessage;

public plugin_init( )
{
	register_plugin(PLUGIN, VERSION, AUTHOR);
	
	SyncHudMessage = CreateHudSyncObj( );
	
	set_task( 1.0, "ShowMessage", _, _, _, g_szB );
}

public ShowMessage( )
{
	new Players[32], iNum;
	get_players(Players, iNum, "ch");
	
	for( new i = 0; i < iNum; i++ )
	{
		set_hudmessage(0, 100, 150, -1.0, 0.02, 0, 0.0, 1.0, 0.0, 1.0, 3 );
		ShowSyncHudMsg(0, SyncHudMessage, "%s", g_szMessage);
	}
}
Vyseer
Membru, skill 0
Membru, skill 0
Posts: 62
Joined: 14 Jul 2011, 22:30
Detinator Steam: Da
CS Status: Băntui pe forumul eXtreamCS.com...!
Has thanked: 56 times
Been thanked: 1 time
Contact:

19 May 2013, 18:29

Mersi...reusii sa-l convertesc in dhud , acu as mai dorii functia care numara cate runde s-au jucat.
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

19 May 2013, 20:02

Folosesti: register_logevent("round_end", 2, "1=Round_End")

static runde = 0;

public round_end()
{
runde++
}
Cand nu merge acest forum sunt online aici:
  • * Skype: nubo_cs
    * Y!M ID: nubo_cs
Post Reply

Return to “Cereri”

  • Information