Quote:
Originally Posted by spamipolito
No bro :/ . I already testing with entity_set_size :/. Anyway, i tried again.
This result:
Use this code in case ACTIVITY_DUCK:
PHP Code:
new Float:vecMins[3]; new Float:vecMax[3]; //new Float:VecSize[3] vecMins = Float:{-16.0, -16.0, -32.0}; vecMax = Float:{16.0, 16.0, 18.0}; //VecSize = Float:{32.0, 32.0, 50.0}; entity_set_size(iEnt, vecMins, vecMax); entity_set_vector(iEnt, EV_VEC_mins, vecMins); entity_set_vector(iEnt, EV_VEC_maxs, vecMax);
|
Didnt i told you to not change the mins of z vector, mins ducking should be equal to the mins of the standing position.
It shouldbe
vecMins = Float:{-16.0, -16.0, -36.0};
vecMax = Float:{16.0, 16.0, 16.0};
__________________