Estevam2d Posted February 7, 2014 Share Posted February 7, 2014 how do I get the bike has only one available place and another play can not be a passenger ? Sorry for the bad english but this is urgent Link to comment
Castillo Posted February 8, 2014 Share Posted February 8, 2014 Bikes don't have passenger seats as far as I know. Link to comment
Ab-47 Posted February 8, 2014 Share Posted February 8, 2014 Bikes don't have passenger seats as far as I know. Press "G" besides a bike, you're able to sit as a passenger.. Link to comment
myonlake Posted February 8, 2014 Share Posted February 8, 2014 Bikes don't have passenger seats as far as I know. He probably means motorcycles. You can use the following code to disable passengers on bikes. Server-side addEventHandler( "onVehicleStartEnter", root, function( _, seat ) if ( getVehicleType( source ) == "Bike" ) and ( seat > 0 ) then cancelEvent( ) end end ) Link to comment
Estevam2d Posted February 8, 2014 Author Share Posted February 8, 2014 myonlake you are master ^ ^ Thank you I needed that very much .. Can I ask one more thing? I wanted an airplane that had places for more than 10 players to the AT-400 Would you give me a script with a given vehicle with determado place to pasareiros ? Link to comment
tosfera Posted February 8, 2014 Share Posted February 8, 2014 I don't think you can increase the vehicle seats... You can make a dirty workaround to check if the total attached elements is less than your max passengers and attach the player in the vehicle or set it's camera to face to the driver and attach the player to it on a very high position or so... 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