Jump to content

need help


SpriN'

Recommended Posts

Well, I made taxi job and I have a problem which is small bug

I did

function startJob ( playerSource ) 
....... 
end 
addEventHandler ("onVehicleEnter", getRootElement(), startJob) 

but with that the taxi driver can enter any car the job will starts

I wanna know if there's any way to make onVehicleEnter with specific vehicles only

Edited by Guest
Link to comment

I didn't meant that.

I want when the taxi get spawned by a taxi driver the job starts

I made it with onVehicleEnter and it works fine, but the taxi driver can enter any type of vehicle to start the job and I want it with Taxi only

Edited by Guest
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...