• Attach models to a bone
    4 replies, posted
I am trying to make my player have a model/prop located on his right upperarm. I have found 2 ways of doing this but It will give the model on every one on the server. If there is a way of using [U][B]ply[/B][/U] for just that one player(me) that uses the script.
[url]https://facepunch.com/showthread.php?t=1387179&p=44651913&viewfull=1#post44651913[/url]
This look like it will not work with your player it looks like it only works with a ragdoll also I would need that addon I assume. correct me if i am wrong.
[QUOTE=Hamstie;51680706]This look like it will not work with your player it looks like it only works with a ragdoll also I would need that addon I assume. correct me if i am wrong.[/QUOTE] Code is in the thread, and it works for players.
[QUOTE=code_gs;51680718]Code is in the thread, and it works for players.[/QUOTE] In that thread he says that a is your glasses(model), b is your ragdoll. so for b I would use ply? Example models/Gibs/HGIBS.mdl:SetParent( ply ) models/Gibs/HGIBS.mdl:Fire( "SetParentAttachment", "glasses" ) I am probably be so stupid.I dont rlly understand lua. [editline]16th January 2017[/editline] ok I just went on garrys mod and ran th code and got this as and out put [url]https://gyazo.com/7a4fe0bf5a06f69b59fcf62dae8234b5[/url]
Sorry, you need to Log In to post a reply to this thread.