/* Plugin generated by AMXX-Studio */
#include <amxmodx>
#include <amxmisc>
#include <fun>
#define PLUGIN "New Plugin"
#define VERSION "1.0"
#define AUTHOR "x64"
public plugin_init() {
register_plugin(PLUGIN, VERSION, AUTHOR)
register_cvar("sv_beastmod", "1")
}
public plugin_BeastMod()
{
new players[32], num
new playercount
new i
new player
//Make sure Beast Mod is activated
if(get_cvar_num("sv_beastmod") == 0)
{
return PLUGIN_HANDLED
}
//This will find the number of players in the server
get_players(players, playercount, "h")
for (i = 0; i < playercount; i++)
{
player = players[i]
}
//This will choose the beast, each round it is a random player
new randomplayer = random_num(1,i)
set_user_rendering(player, kRenderFxGlowShell, 255, 0, 0, kRenderNormal, 20);
return PLUGIN_HANDLED
}