In case you didn't understood arkshine:
PHP Code:
/* Plugin generated by AMXX-Studio */
#include <amxmodx>
#include <amxmisc>
#include <csx>
#define PLUGIN "Fight"
#define VERSION "1.0"
#define AUTHOR "#LoLeX[*]"
new g_Round;
public plugin_init() {
register_plugin(PLUGIN, VERSION, AUTHOR)
register_event("HLTV","new_round","a","1=0","2=0");
}
public plugin_precache() {
precache_sound("misc/fight.wav")
}
public new_round()
{
new players[32],num,index;
get_players(players,num);
for(new i = 0;i < num;i++) {
index = players[i];
if(!is_user_connected(index)) continue;
set_hudmessage(255, 0, 255, -1.0, -1.0, 0, 6.0, 12.0);
show_hudmessage(0, "FighT!^nRound: %d",g_Round);
client_cmd(0,"spk fight")
}
}
Sorry if i'm wrong with where the "for loop" ends
__________________