Nick: RealWolf. Grad: MembruMesaje : 379 Bani : 2532 Multumiri : 2
| Subiect: [Plugin] Hud Score Colorat. Dum Iul 12, 2015 11:14 am | |
| Titlu: Hud Score Colorat. Descriere: Cu acest plugin va v-a arata la hud Scorurile echipelor (Furien & Anti-Furien) Download: - Cod:
-
/* Hud Score Colorat ================================ | SkepT Jr. | ================================ Copyright © 2015, SkepT Jr. */
#include <amxmodx> #include <amxmisc> #include <dhudmessage>
#define PLUGIN "Hud Score Colorat" #define VERSION "v1" #define AUTHOR "SkepT Jr."
#define namered 0 #define namegreen 255 #define nameblue 255 #define scorered 255 #define scoregreen 0 #define scoreblue 0 new sz_FuriensWin = 0; new sz_AntiFuriensWin = 0;
public plugin_init() { register_plugin(PLUGIN, VERSION, AUTHOR) register_event ( "TextMsg", "Round_Restart", "a", "2&#Game_C", "2&#Game_w", "2&#Game_will_restart_in" ); set_task( 1.0, "Score", _, _, _, "b" ); // Add your code here... }
public Round_Restart ( ) { sz_FuriensWin = 0; sz_AntiFuriensWin = 0; }
public Score ( id ) { set_hudmessage ( namered, namegreen, nameblue, -1.0, is_user_alive ( id ) ? 0.01 : 0.16 , 0, _, 1.0, _, _, 2 ); show_dhudmessage ( 0, "[ Furien ] - vs - [ Anti-Furien ]" ); set_hudmessage ( scorered, scoregreen, scoreblue, -1.0, is_user_alive ( id ) ? 0.01 : 0.16 , 0, _, 1.0, _, _, 3 ); show_hudmessage ( 0, "[ %d ] - [ %d ]", sz_FuriensWin, sz_AntiFuriensWin ); }
/* AMXX-Studio Notes - DO NOT MODIFY BELOW HERE *{\\ rtf1\\ ansi\\ deff0{\\ fonttbl{\\ f0\\ fnil Tahoma;}}\n\\ viewkind4\\ uc1\\ pard\\ lang1033\\ f0\\ fs16 \n\\ par } */
Nume: Hud Score Colorat. Versiunea: V1 Instalare: 1. Compilam sursa 2. Fisierul nume_plugin.sma il puneti in addons/amxmodx/scripting 3. Fisierul nume_plugin.amxx il puneti in addons/amxmodx/plugins 4. Intrati in fisierul addons/amxmodx/configs/plugins.ini si adaugati la urma: - Cod:
-
nume_plugin.amxx Cvars: -
|
|