Xeno Posted January 14, 2012 Share Posted January 14, 2012 How would I check the player would entered the car? Like if you enter as a passenger. Link to comment
Castillo Posted January 14, 2012 Share Posted January 14, 2012 addEventHandler("onVehicleEnter",root, function (thePlayer, seat) if (seat ~= 0) then -- If the seat isn't driver's.. outputChatBox("You entered as a passenger.",thePlayer) -- We output him a chatbox message. end end) Link to comment
Xeno Posted January 14, 2012 Author Share Posted January 14, 2012 Does seat 0 count as all the passenger seats? Link to comment
Xeno Posted January 14, 2012 Author Share Posted January 14, 2012 OH ok, now I get it. Thanks dude! Link to comment
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now