AMARANT Posted June 3, 2011 Share Posted June 3, 2011 This event works when a player gets in a car. But it doesn't work when a player steals a car and get a driver out that car. How to check this moment when player steals a car and enters it? Link to comment
Castillo Posted June 3, 2011 Share Posted June 3, 2011 Maybe you should use this instead: https://wiki.multitheftauto.com/wiki/OnVehicleStartEnter, not sure though. Link to comment
qaisjp Posted June 4, 2011 Share Posted June 4, 2011 addEventHandler("onVehicleStartEnter"), root, function(pl, seat, jack, door) if door == 0 and jack and getPlayerName(pl) == "Jack" then outputChatBox("You can't jack him, Jack", pl, 255, 0, 0) cancelEvent() end end ) 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