Help with Date Check!

Recommended Posts

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
addCommandHandler ("job4", verification)

I already checked the "debugscript 3", and it does not accuse anything :(

Share this post

Link to post

It's missing a parenthesis to close getElementData function.

Share this post

Link to post

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 account

Sign in

Already have an account? Sign in here.

Sign In Now

  • Recently Browsing   0 members

    No registered users viewing this page.