Sign in to follow this  
davedavy

Bus-System

Recommended Posts

I want to create a automatic bus system in MTA ( like records in SA-MP ), what is the best way to do this?

Share this post


Link to post

Use race checkpoints which are only visible to the player that is doing the bus course.

Edit: You want the bus to move automatically? If so, I don't think there's a way to do that.

Share this post


Link to post

Of course there is, there are scripts for controlling vehicles around.

Share this post


Link to post

its possible but you have 2 problem's on server side you can move only an object attached to a bus result is the bus is moving but its not realistic

now you can move the bus realistic but only on client side now again you can chose or for every player you make a bus and then only that player can see the bus or you can make 1 bus for all player's but then you need to synchronize for every player

a long time ago i start making one but i don't finished it bk I decided that are to many RPG server's and i start making an another gamemod so on my idea i was trying to add race checkpoints on the road and when the bus hit it triggered a cilent side script and make a change on the vehicle Control

Share this post


Link to post

Didn't you know there are

createPed 
warpPedIntoVehicle 
setPedControlState 

???

Edited by Guest

Share this post


Link to post

:lol::lol: this is funny OMG i make it a long time ago i don't remember if then it was SetControlState on server side or i don't find it i was trying whit setPedControlState

EDIT: but SetControlState it's only for player's "thePlayer: The player you wish to set the control state of." so if i am right you can't control a Ped created whit createPed

Share this post


Link to post

I don't see any problems with setPedControlState. It's client-side, like all game physics are. There actually IS a reason why MTA uses network...

Share this post


Link to post

Lol. It was setPedControlState, not setControlState xD

Share this post


Link to post

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

  • Recently Browsing   0 members

    No registered users viewing this page.