←  Problemy

AMXX.pl: Support AMX Mod X i SourceMod

»

nie wyswietla hud

  • +
  • -
tytusek - zdjęcie tytusek 06.02.2016

#include <amxmodx>
 
new maxPlayers;
 
public plugin_init(){ 
register_plugin("Napis","1.0","autor")
set_task(0.1, "Pokaz_napis", .flags="b")
}
public Pokaz_napis(){
    for(new id=1; id <= maxPlayers; id++)
    if(!is_user_alive(id))
    { 
set_hudmessage(0, 255, 0, -1.0, 0.01, 0, 1.0, 1.0, 0.1, 0.2, -1) 
show_hudmessage(id, "napis ble")
    }
}
czemu nie działa
Odpowiedz

  • +
  • -
vanillah - zdjęcie vanillah 06.02.2016

#include <amxmodx>
 
new maxPlayers;

public plugin_init()
{
register_plugin("Napis","1.0","autor")
}
public Pokaz_napis(){
    for(new id=1; id <= maxPlayers; id++)
    if(!is_user_alive(id))
    { 
set_hudmessage(0, 255, 0, -1.0, 0.01, 0, 1.0, 1.0, 0.1, 0.2, -1) 
show_hudmessage(id, "napis ble")
    }
}
public client_putinserver(id)
{
	set_task(0.1, "Pokaz_napis", .flags="b")
}

 

Odpowiedz

  • +
  • -
NNK - zdjęcie NNK 23.02.2016

A moze takie cos? Wyswietla informacje co x sekund (W tym wypadku co 120)

Załączone pliki

Odpowiedz