Quote:
Originally Posted by ^SmileY
What is their name?
|
I've played Gather and saw this plugin and want to throw on your server...
I have this code, but still standing on the hud.
Code:
#include <amxmodx>
new gTTScore, gCTScore;
public plugin_init() {
register_plugin("JailBreake Score Info", "1.0", "Fr0zen");
register_event("TeamScore", "team_score", "a");
set_task(1.0, "score_round", _, _, _, "b")
}
public team_score() {
new szTeam[32];
read_data(1, szTeam, charsmax(szTeam));
if(equal(szTeam, "TERRORIST"))
gTTScore = read_data(2);
else if(equal(szTeam,"CT"))
gCTScore = read_data(2);
}
public score_round() {
set_hudmessage(255, 255, 255, -1.0, 0.01, 0, 6.0, 1.0)
show_hudmessage(0, "[TEAM1] VS [TEAM2] ^n[%i] -- [%i]", gTTScore, gCTScore)
}
__________________