View Single Post
strontiumdog
Veteran Member
Join Date: Jan 2007
Location: BC, Canada
Old 05-22-2009 , 14:25   Re: Attach Dynamic Light to Model
Reply With Quote #3

Give the smoke grenade a targetname.

e.g
Code:
new String:targ[64];
Format(targ, sizeof(targ), "nade%i", target_propIndex);
DispatchKeyValue(target_propIndex, "targetname", targ);
Then you need to attach it to that targetname

Code:
AcceptEntityInput(target_flareIndex, "SetParent", targ);
__________________
Plugins | TheVille
Zombie Mod for DoD:S - l4dod.theville.org
strontiumdog is offline