Quote:
Originally Posted by TheWho
maybe try to check every bit and see if your lucky?
Code:
public void OnClientPutInServer(int client)
{
SDKHook(client, SDKHook_PreThinkPost, Hook_PreThinkPost);
}
public void Hook_PreThinkPost(int client)
{
for(int j = 3; j<64; j++)
{
int flags = GetEntProp(client, Prop_Send, "m_iHideHUD");
SetEntProp(client, Prop_Send, "m_iHideHUD", flags | (1<<j));
}
}
|
up to 63? sourcepawn data types are 4 bytes (32 bits), this shouldn't work as intended
__________________