Hi. I have a problem with silenced footstep. When i turn it on player is ducking all the time and cant plant a bomb (u must be on the ground if u want plant a bomb)
My code:
Code:
public OnPluginStart()
{
HookEvent("player_footstep", Event_FootStep, EventHookMode_Pre);
}
public Action:Event_FootStep(Handle:event, const String:name[], bool:dontBroadcast)
{
new client = GetClientOfUserId(GetEventInt(event, "userid"));
if(maKlase[client])
SetEntProp(client, Prop_Data, "m_fFlags", 4);
}
Someone know how to fix it?