View Single Post
psychonic

BAFFLED
Join Date: May 2008
Old 01-31-2011 , 10:13   Re: [TF2] tMedicRubber (2010-09-12)
Reply With Quote #3

Code:
for(new i = 1; i <= MaxClients; i++) {     if(IsClientInGame(i) && !IsFakeClient(i)) {         SDKHook(i, SDKHook_PreThink, OnPreThink);     } }

Does this work? I would think it would infinite loop on non-late load since MaxClients is 0 before the map starts (i starting at 1, looping until i <= 0).
psychonic is offline