Thread: [TF2]NoValveHax
View Single Post
Dr. McKay
Sir Dr. SourceMod Plugin Approver Esq. Ltd. M.D. PhD
Join Date: Aug 2011
Location: Atlantis
Old 11-28-2011 , 19:07   Re: [TF2]NoValveHax
Reply With Quote #9

Quote:
Originally Posted by psychonic View Post
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.
__________________
Dr. McKay is offline