reklama
Re: reklama
Code: Select all
#include <amxmodx>#include <engine> new hud_sync public plugin_init() { new Ent = create_entity("info_target") hud_sync = CreateHudSyncObj() entity_set_string(Ent, EV_SZ_classname, "think") entity_set_float(Ent, EV_FL_nextthink, get_gametime() + 5.0) register_think("think", "Nori vip? Rasyk /noriuvip")} public Reklama(Ent) { static id, players[32], num, i get_players(players, num, "ch") for(i = 0; i < num; i++) { id = players[i] set_hudmessage(255, 0, 0, 0.12, 0.02, 2, 2.0, 6.0, 0.05, 0.2, 2) ShowSyncHudMsg(id, hud_sync, "Nori vip? Rasyk /noriuvip") } entity_set_float(Ent, EV_FL_nextthink, get_gametime() + 1.0)}
- aaarnas
- Vyr. diskusijų administratorius
- Posts: 3891
- Joined: 2010 Aug 31 13:21
- Skype: fiarno
- Contact:
Re: reklama
Pamėgink:
Beje entity nebūtina naudoti. Galima ir taip:
Code: Select all
#include <amxmodx>#include <engine> new hud_sync public plugin_init() { new Ent = create_entity("info_target") hud_sync = CreateHudSyncObj() entity_set_string(Ent, EV_SZ_classname, "think") entity_set_float(Ent, EV_FL_nextthink, get_gametime() + 5.0) register_think("think", "Reklama")} public Reklama(Ent) { static id, players[32], num, i get_players(players, num, "ch") for(i = 0; i < num; i++) { id = players[i] set_hudmessage(255, 0, 0, 0.05, 0.13, 2, 2.0, 6.0, 0.05, 0.2, 2) ShowSyncHudMsg(id, hud_sync, "Nori vip? Rasyk /noriuvip") } entity_set_float(Ent, EV_FL_nextthink, get_gametime() + 1.0)}
Code: Select all
#include <amxmodx>#include <engine> new hud_sync public plugin_init() { hud_sync = CreateHudSyncObj() set_task(1.0, "Reklama", 0, _, _, "b")} public Reklama() { static id, players[32], num, i get_players(players, num, "ch") for(i = 0; i < num; i++) { id = players[i] set_hudmessage(255, 0, 0, 0.05, 0.13, 2, 2.0, 6.0, 0.05, 0.2, 2) ShowSyncHudMsg(id, hud_sync, "Nori vip? Rasyk /noriuvip") }}
Palikau CS pasaulį ;/ . Nebepasiekiamas.
Re: reklama
Dėkui, arnai padėjai. Beabėjo +karma.
Who is online
Users browsing this forum: Ahrefs [Bot] and 3 guests