PHP Code:
// global vars
new const Float:VEC_DUCK_HULL_MIN[3] = { -16.0, -16.0, -18.0 };
new const Float:VEC_DUCK_HULL_MAX[3] = { 16.0, 16.0, 18.0 };
// put this in prethink
set_pev( plr, pev_flags, pev( plr, pev_flags ) | FL_DUCKING );
engfunc( EngFunc_SetSize, plr, VEC_DUCK_HULL_MIN, VEC_DUCK_HULL_MAX ); // maybe even setting pev_flags is enough, you should test
__________________