Thread: [TF2]NoValveHax
View Single Post
psychonic

BAFFLED
Join Date: May 2008
Old 11-28-2011 , 19:40   Re: [TF2]NoValveHax
Reply With Quote #7

Quote:
Originally Posted by Dr. McKay View Post
This plugin made me wonder, is it possible to add the "Valve Employee-ness" condition to players via SourceMod? I know there's already PowerPlay plugins and stuff so it'd be kinda pointless, but It'd be fun once or twice to use hidden Valve HAX commands.
Quote:
Originally Posted by ILOVEPIE View Post
Um that is impossible
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.
psychonic is offline