Mesaje hud pentru jucatorii "morti"

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
niku-leonard
Membru, skill 0
Membru, skill 0
Posts: 97
Joined: 23 Jul 2010, 02:18
Detinator Steam: Da
Detinator server CS: csgo.darkarena.ro
SteamID: STEAM_0:1:41693762
Has thanked: 4 times
Been thanked: 2 times
Contact:

10 Oct 2010, 13:52

Pai merge al tau, dar apar si cand esti viu.
User avatar
KronoS eXtream
Fost administrator
Fost administrator
Posts: 4380
Joined: 02 Apr 2009, 18:18
Detinator Steam: Da
Reputatie: Fost administrator
Fost detinator Zombie-Land.eXtream.Ro
Contribuitor
Fost Scripter eXtreamCS
Dezvoltator al listei de seriozitate eXtreamCS
Location: Bucharest
Has thanked: 543 times
Been thanked: 820 times
Contact:

11 Oct 2010, 09:00

Verifica din nou postul meu.
Nu efectuez tranzactii pe mess, skype etc. Aveti grija la indivizii care se dau drept mine!
Nu mai ofer suport asa ca nu imi mai trimiteti mesaje in legatura cu asta!


Zombie Plague Shade 1.2-debug1 [with Item Limiter] (12 September 2015) - Bombardier Branch
User avatar
niku-leonard
Membru, skill 0
Membru, skill 0
Posts: 97
Joined: 23 Jul 2010, 02:18
Detinator Steam: Da
Detinator server CS: csgo.darkarena.ro
SteamID: STEAM_0:1:41693762
Has thanked: 4 times
Been thanked: 2 times
Contact:

11 Oct 2010, 12:22

@Ciprian:
| Afiseaza codul
Image
By nikuleonard at 2010-10-11
Deci, apar si cand esti viu.

@Kronos: eroare
| Afiseaza codul
Image
By nikuleonard at 2010-10-11
Nu merge compilat.

Altceva va rog. Chiar am nevoie :(
User avatar
H3adShoT
Membru, skill +3
Membru, skill +3
Posts: 1254
Joined: 03 May 2009, 18:19
Detinator Steam: Da
CS Status: Nu mai incercati sa-mi furati contul!
Detinator server CS: Nimic
SteamID: PM
Reputatie: Restrictie moderator
Location: Hunedoara
Has thanked: 47 times
Been thanked: 92 times
Contact:

11 Oct 2010, 15:33

niku-leonard wrote:@Ciprian:
| Afiseaza codul
Image
By nikuleonard at 2010-10-11
Deci, apar si cand esti viu.

@Kronos: eroare
| Afiseaza codul
Image
By nikuleonard at 2010-10-11
Nu merge compilat.

Altceva va rog. Chiar am nevoie :(
incearca acum pe cel al lui kronos
| Afiseaza codul
#include < amxmodx >
#include < cstrike >

#define PLUGIN "New Plug-In"
#define VERSION "1.0"
#define AUTHOR "Ciprian"

#define INTERVAL 15 // La cate secunde sa apara mesajele
#define DURATION 2 // Durata mesajelor

stock const g_Messages[ ][ ] = {
	"Mesaj 1",
	"Mesaj 2",
	"Mesaj 3",
	"Mesaj 4", 
	"Mesaj 5"
}

public plugin_init ( ) {
	register_plugin ( PLUGIN, VERSION, AUTHOR );
	
	set_task ( float ( INTERVAL ), "task_print_messages", _, _, _, "b" );
}

public task_print_messages ( i ) {
	new players[ 32 ], num;
	get_players ( players, num, "bh" );

        if(is_user_alive(players[ i ])) return PLUGIN_CONTINUE;
	
	for ( new i = 1; i <= num; i ++ ) {
		set_hudmessage ( 255, 0, 0, 0.02, 0.17, 0, 6.0, float ( DURATION ) );
		show_hudmessage ( players[ i ], g_Messages[ random ( sizeof g_Messages ) ] );
	}
	
	return PLUGIN_CONTINUE;
}
Retras din activitate.
User avatar
niku-leonard
Membru, skill 0
Membru, skill 0
Posts: 97
Joined: 23 Jul 2010, 02:18
Detinator Steam: Da
Detinator server CS: csgo.darkarena.ro
SteamID: STEAM_0:1:41693762
Has thanked: 4 times
Been thanked: 2 times
Contact:

11 Oct 2010, 17:33

Acum nu mai da erare, dar apar si cand esti viu.

PS: Cate batai de cap pentru un amarat de plugin :))
User avatar
H3adShoT
Membru, skill +3
Membru, skill +3
Posts: 1254
Joined: 03 May 2009, 18:19
Detinator Steam: Da
CS Status: Nu mai incercati sa-mi furati contul!
Detinator server CS: Nimic
SteamID: PM
Reputatie: Restrictie moderator
Location: Hunedoara
Has thanked: 47 times
Been thanked: 92 times
Contact:

11 Oct 2010, 18:25

niku-leonard wrote:Acum nu mai da erare, dar apar si cand esti viu.

PS: Cate batai de cap pentru un amarat de plugin :))
incearca asta :
| Afiseaza codul
#include < amxmodx >

#define PLUGIN "New Plug-In"
#define VERSION "1.0"
#define AUTHOR "Ciprian"

#define INTERVAL 15 // La cate secunde sa apara mesajele
#define DURATION 2 // Durata mesajelor

stock const g_Messages[ ][ ] = {
    "Mesaj 1",
    "Mesaj 2",
    "Mesaj 3",
    "Mesaj 4", 
    "Mesaj 5"
}

public plugin_init ( ) {
    register_plugin ( PLUGIN, VERSION, AUTHOR );
    
    set_task ( float ( INTERVAL ), "task_print_messages", _, _, _, "b" );
}

public task_print_messages ( ) {
    new players[ 32 ], num;
    get_players ( players, num, "bh" );
    
    for ( new i = 1; i <= num; i ++ ) 
    {
        if( !is_user_alive( i ) && is_user_connected( i ) )
        {
         set_hudmessage ( 255, 0, 0, 0.02, 0.17, 0, 6.0, float ( DURATION ) );
         show_hudmessage ( i, g_Messages[ random ( sizeof g_Messages ) ] );
        }
    }
    
    return PLUGIN_CONTINUE;
}
Retras din activitate.
Post Reply

Return to “Cereri”

  • Information
  • Who is online

    Users browsing this forum: No registered users and 25 guests