Quote:
Originally Posted by psychonic
hardly
Code:
#include <sourcemod>
#include <tf2>
public OnPluginStart()
{
RegConsoleCmd("condump_on", condump_on);
RegConsoleCmd("condump_off", condump_off);
}
public Action:condump_on(client, argc)
{
if (client > 0 && IsClientInGame(client)) {
TF2_SetPlayerPowerPlay(client, true);
}
return Plugin_Handled;
}
public Action:condump_off(client, argc)
{
if (client > 0 && IsClientInGame(client)) {
TF2_SetPlayerPowerPlay(client, false);
}
return Plugin_Handled;
}
That's all it does short of a steamid check and a console print.
|
Well, I was just wondering if there was a way to make TF2 itself think you were an actual Valve employee, instead of replicating the functionality. I know it doesn't make a difference either way, but there's just something about it for me.
__________________