AMARANT Posted June 3, 2011 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?
Castillo Posted June 3, 2011 Posted June 3, 2011 Maybe you should use this instead: https://wiki.multitheftauto.com/wiki/OnVehicleStartEnter, not sure though. San Andreas Utopia RPG (SAUR) Owner & Developer. Education is the most powerful weapon which you can use to change the world.
MTA Team qaisjp Posted June 4, 2011 MTA Team 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 )
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