• is there a way to using draw function even not in screen?
    8 replies, posted
is there a way to using draw function even entity isn't in the screen? i need this way for parent clientside prop to player's bone with custom position,angles offset and draw matrix models too
Couldn't you do that in ENT:Think()?
i already tried it but when i use think instead of draw, it's show little different move, slippery like jiggle,
I don't have any experience with this function, but have you tried http://wiki.garrysmod.com/page/Entity/SetParentPhysNum ?
setnextclientthink = couldn't see any change setparentphysnum = i tried to this code local boneindex = ply:LookupBone("ValveBiped.Bip01_Head1") local headpos, headang = ply:GetBoneMatrix(boneindex):GetTranslation(), ply:GetBoneMatrix(boneindex):GetAngles() ent:SetParent(ply) ent:SetPos(headpos) ent:SetParentPhysNum(ply:LookupBone("ValveBiped.Bip01_Head1")) and not working....
Did you run the code on client?
don't work :/
Let me ask a third time. Did you run that on server or client?
that is serverside function i can't use it... my code is for clientside
Sorry, you need to Log In to post a reply to this thread.