[ReAPI][SMA] Round Message

Welcome!

By registering with us, you'll be able to discuss, share and private message with other members of our community.

SignUp Now!

kukubeni

Banned
Banned
Joined
Dec 27, 2019
Messages
18
Credits
17
#include <amxmodx>
#include <reapi>
#include <colorchat>

#define PLUGIN "Round Message"
#define VERSION "1.0"
#define AUTHOR "mforce"

new maxplayers;

public plugin_init() {
register_plugin(PLUGIN, VERSION, AUTHOR)
RegisterHookChain(RG_CSGameRules_RestartRound, "fw_newround", true);
maxplayers = get_maxplayers();
}

public fw_newround() {
new maxrounds = get_member_game(m_iMaxRounds);
new playedrounds = get_member_game(m_iTotalRoundsPlayed);

new players = get_playersnum();

ColorChat(0, NORMAL, "^4[Information]^1 Round: %i/%i || Players: %i/%i", playedrounds, maxrounds, players, maxplayers);
}
 
Back
Top