View Single Post
FlaminSarge
Veteran Member
Join Date: Jul 2010
Old 07-14-2017 , 06:53   Re: [TF2] Yet Another Dodgeball Plugin (Reborn)
Reply With Quote #11

I thought you could just do
PHP Code:
SetEntPropFloat(rocketProp_Send"m_flModelScale"2.0); 
If that doesn't work, try
PHP Code:
SetVariantFloat(2.0);
AcceptEntityInput(rocket"SetModelScale"); 
Your last option is to spawn a prop_dynamic and parent it to the rocket, then set the model scale on that. I tend to shy away from spawning extra entities, particularly props, if I can avoid it, though. The upside to using prop_dynamic is you can rotate/offset whatever model you attach, as well as set animations, etc, but I don't think you'll need that functionality here.
__________________
Bread EOTL GunMettle Invasion Jungle Inferno 64-bit will break everything. Don't even ask.

All plugins: Randomizer/GiveWeapon, ModelManager, etc.
Post in plugin threads with questions.
Steam is for playing games.
You will be fed to javalia otherwise.
Psyduck likes replays.

Last edited by FlaminSarge; 07-14-2017 at 06:56.
FlaminSarge is offline