#DeltaSCR Posted January 11, 2019 Posted January 11, 2019 Hello guys! I'm having a big question, I'm trying to check an elementData from another resource, I'm doing it the following way, but I think it's not the correct ... function verification (source) if getElementData (source, "Habilitation:Bikes" then -- Date verification of other resource createVehicle (id, x, y, z,) -- Data of my vehicle else end end addCommandHandler ("job4", verification) I already checked the "debugscript 3", and it does not accuse anything
DNL291 Posted January 12, 2019 Posted January 12, 2019 It's missing a parenthesis to close getElementData function.
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