Engine and Fakemeta ?!?
Add this in plugin_init()
PHP Code:
register_forward(FM_PlayerPreThink, "client_PreThink")
Change
PHP Code:
new flags = entity_get_int(id, EV_INT_flags)
to
PHP Code:
new flags = pev(id, pev_flags)
remove
PHP Code:
#include <engine>
Set pev_velocity based on current player velocity not to some fixed values. Doing this will affect (to some extent) your prethink.
Also why did you post this in a new thread if you already had another one related to this ?