I am currently working on a server project and have encountered an issue related to ped lighting and collision. I could use some serious help.
In a nutshell, after creating a function that successfully creates a ped in nearby radius and I wanted the ped to be none collidable with objects like tables and all sorts so it can look better with animations. So inside the function I added the following :
setElementCollisionsEnabled(ped, false)
Which did disable the collisions for the ped. However after the added update the peds spawned really dark which could mean that it also disabled collision with lighting? (idk im fairly new to this).
Anyway I could use some help into figuring out how to disable the collisions and still have the peds look normal with fair lighting.
Thank you in advance.