Jump to content

Help with Date Check!


#DeltaSCR

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

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

Link to comment

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.
×
×
  • Create New...