Hello all, Disclaimer: I’m sorry if this has already been answered somewhere else, but from my searchs I couldn’t find anything but people saying that some props do not work
Basically I’m working with scripts to interact with some specific props. Overall it works as I want it for most of the scripts but I’m facing an issue for some of them.
The one I have in mind and I’m trying to get at the moment is v_ilev_ph_bench in the MRPD hall:
GetGamePool('CObject'): can get most of the props but not these benches (I say most because I don’t know how many props act like the v_ilev_ph_bench) GetGamePool - FiveM Natives @ Cfx.re Docs
I don’t know why it wouldn’t work with these props only. I checked with Codewalker and I don’t see any flags or anything that could make them untargetable.
Am I doing something wrong ? Do I need to change a flag or something to the props on Codewalker ? Or is this just a prop that can’t be accessed by any mean ?
As said in the linked topic, do not do this! An archetype with the same name in multiple .#typ files will cause weird issues (including game crashes) down the line.