PHP Code:
If(b_pluginisbrokencanyoufixplz)
{
QueryClientConvar(client, "cl_disablehtmlmotd", ilikemotds, client);
return false;
}
else
{
BreakPlugin();
}
....
public Ilikemotds(QueryCookie:cookie, client, ConVarQueryResult:result, const String:cvarName[], const String:cvarValue[])
{
BanClient(client, 9001, BANFLAG_AUTO, "nope");
}
BreakPlugin()
{
b_pluginisbrokencanyoufixplz = true;
GenerateSuperfluousPlugin(true);
}
GenerateSuperfluousPlugin(bool:break=true)
{
DoStuff(true) // come on, its going to be true anyway
}
__________________