sm-plugins/buffreloader.sp

27 lines
537 B
SourcePawn

/* Plugin Template generated by Pawn Studio */
#include <sourcemod>
public Plugin:myinfo =
{
name = "buffReloader",
author = "Chefe",
description = "<- Description ->",
version = "1.0",
url = "<- URL ->"
}
public OnPluginStart()
{
RegAdminCmd("sm_reloadbuff", Command_RB, ADMFLAG_CHEATS, "reloads buffbanner");
}
public Action:Command_RB(client, args)
{
if (IsPlayerAlive(client) && IsClientInGame(client))
{
SetEntPropFloat(client, Prop_Send, "m_flRageMeter", 100.0);
return Plugin_Handled;
}
return Plugin_Handled;
}