Raised This Month: $51 Target: $400
 12% 

Problems with creating a prop_physics


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Facksy
Senior Member
Join Date: Apr 2017
Location: +2+2
Old 07-19-2018 , 19:36   Problems with creating a prop_physics
Reply With Quote #1

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.
__________________
My Steam I take private requests if related with TF2
My Plugins
Facksy is offline
sdz
Senior Member
Join Date: Feb 2012
Old 07-19-2018 , 19:59   Re: Problems with creating a prop_physics
Reply With Quote #2

try prop_physics_override

Last edited by sdz; 07-19-2018 at 19:59.
sdz is offline
Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 02:06.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode