• Entity.SetBodyGroup not working
    4 replies, posted
It says it exists on wiki: [b][url=wiki.garrysmod.com/?title=Entity.GetBodygroup]Entity.GetBodygroup [img]http://wiki.garrysmod.com/favicon.ico[/img][/url][/b] I've tried using the function both clientside and serverside on entitys. I've also printed the _R.Entity thing and it does exist in there. Printed the ents.GetAll() table: This one is the one i'm testing it on. Entity [94][prop_physics] lua_run_cl Entity(94):GetBodyGroup() lua_run Entity(94):GetBodyGroup() Output: 1: attempt to call method 'GetBodyGroup' (a nil value) Am I using it wrong?
Yeah it requires a body group number GetBodyGroup(1)
Erm, forgot to mention i tried that too. Still says the function is nil.
It's GetBodygroup, not GetBodyGroup.
Goddammit, thanks.
Sorry, you need to Log In to post a reply to this thread.