You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Regarding the resource "cpicker". You can find it here: https://community.multitheftauto.com/index.php?p=resources&s=details&id=3247 . However, I do not know what the copyright situation is as to whether the resource may be added to the mtasa-resources repository.
An alternative would perhaps be to use the colorpicker in the "freeroam" resource as a template or to outsource the colorpicker to a separate resource so that all resources can access it via functions as with the "cpicker" resource.
I think the reason why an error was displayed is because you did not select a siren type. But the resource is not very user friendly and errors should be displayed in the GUI or in the chat.
Which resource(s) have this problem?
sirenEdit
Describe the bug
It's missing the cpicker resource and doing /sirens in certains vehicles will cause an error in the initUI function in script.lua.
To Reproduce
start sirenEdit
enter a Police LV car
use /sirens => error occurs
click Colour button => error occurs
Expected behavior
no errors (robust script to handle all cases), and a working color picker
Screenshots
Version
Multi Theft Auto v1.6-release-22596
Latest MTA default resources as of posting this
The text was updated successfully, but these errors were encountered: