V.Rainbomizer
V.Rainbomizer copied to clipboard
Ped Randomizer: Allow specifying multiple models in ForcePed
Implements #19
Thanks for the pull request, but it makes it so that the ForcedPed config option can't be changed using the debug menu.
It'd be better to provide an override for it in the config reading code and the config debug interface code.
Works with the debug menu now, however right now it'll store a second copy of ForcePed and compare the config's ForcePed each time GetRandomPedModel gets invoked to check if it should update its list of ped hashes, which is not particularly optimal. I couldn't find any other way outside of modifying the config reading logic to include code specific to parsing ForcePed and not keeping it self-contained anymore though.