Seat Posted September 15, 2011 Share Posted September 15, 2011 Hola can Fix me Script addEventHandler("onVehicleStartEnter"), root, function(thePlayer, seat, door) if isPedInVehicle (getLocalPlayer()) and seat == 0 then cancelEvent() outputChatBox("Prees G", thePlayer, 255, 0, 0) end end ) Link to comment
JR10 Posted September 15, 2011 Share Posted September 15, 2011 addEventHandler("onVehicleStartEnter"), root, function(thePlayer, seat, door) if seat == 0 then cancelEvent() outputChatBox("Prees G", thePlayer, 255, 0, 0) end end ) When he starts to enter a car, you want to check if he's already in a car? Never gonna happen. And getLocalPlayer is client side. Link to comment
Seat Posted September 15, 2011 Author Share Posted September 15, 2011 When he starts to enter a car, you want to check if he's already in a car? Lool Thanks JR10 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