Jump to content

Help with Date Check!


#DeltaSCR

Recommended Posts

Posted

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 :(

Minha resposta te ajudou? Por favor, não esqueça de avaliar - #DeltaSCR

Minha página no Facebook: Delta Scripting - MTA


"Viribus et honor"

Posted

It's missing a parenthesis to close getElementData function.

Please do not PM me with scripting related question nor support, use the forums instead.

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...