Model parenting.

To a player.

So I thought I’d like to make a crude CTF gamemode, to aid my learning in lua. One thing that concerns me, is the holding of the flag.

I’d want it as…



if flagheld == 1 then
     SomehowModelShowsOnThePlayerCodeHere
end


And I’d need to know how to change it’s offsets, but preferrably, if it was the models from TF2 that acted as flags (Not used in the game.) , then it’d have the pole just behind the player’s back.