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

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    No registered users viewing this page.