Quote:
Originally Posted by anakin_cstrike
PHP Code:
engfunc( EngFunc_SetOrigin, i_Ent, vOrigin );
|
take a look on
fm_entity_set_origin();
PHP Code:
stock fm_entity_set_origin(index, const Float:origin[3]) {
new Float:mins[3], Float:maxs[3];
pev(index, pev_mins, mins);
pev(index, pev_maxs, maxs);
engfunc(EngFunc_SetSize, index, mins, maxs);
return engfunc(EngFunc_SetOrigin, index, origin);
}
__________________