Hello guys, i got problems to create a prop_physics. Actually this code works for creating a prop_dynamic, but when i replace it by "prop_physics", then the entity doesnt appear in game.
Code:
int pan = CreateEntityByName("prop_dynamic");
DispatchKeyValue(pan, "model", "models/weapons/c_models/c_frying_pan/c_frying_pan.mdl");
TeleportEntity(pan, vecPos, NULL_VECTOR, NULL_VECTOR);
DispatchSpawn(pan);
ActivateEntity(pan);
Obviously I forgot to add something but I don't know what.
__________________