GabWas Posted February 20, 2016 Posted February 20, 2016 Hi there, I have a problem with setModelHandling option. I want to change "monetary" property, but it looks like it's not working. My script: function handlingChange() veh=418 --moonbeam setModelHandling(veh, "monetary", 250) veh2=404 --perennial setModelHandling(veh2, "monetary", 300) veh3=410 --manana setModelHandling(veh3, "monetary", 400) veh6=478 --walton setModelHandling(veh6, "monetary", 400) veh4=436 --previon setModelHandling(veh4, "monetary", 600) veh5=401 --bravura setModelHandling(veh5, "monetary", 650) veh7=479 --regina setModelHandling(veh7, "monetary", 750) end addEventHandler("onResourceStart", resourceRoot, handlingChange) On MTA Wiki page of this function, there is a note, that monetary property: "Get works, set is disabled." That's why it's not working? Can you enable it somehow?
tosfera Posted February 21, 2016 Posted February 21, 2016 You can't enable this without editing the core itself and they sure have their reasons why they disabled it in MTA. ^^
GabWas Posted February 21, 2016 Author Posted February 21, 2016 Well, I have to look for alternative. Anyway, thanks for the reply
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now