Good day! I need an example of function that would:
1)Take velocity from given prop entity
2)Change somehow
3)Send changed velocity to the entity
PHP Code:
//I tried taking vel like this and it does nothing. Couldnt find anything other
GetEntPropVector(ent, Prop_Data, "m_vecAbsVelocity", vel);
//And I tried to set velocity like this
SetEntPropVector(ent, Prop_Data, "m_vecBaseVelocity", Float:{0.0,0.0,300.0}); //doesnt work. Works only on client.
//Yes,I know about TeleportEntity, but this is not a valid option for me.
I would be glad if somebody could lead me to the light