davedavy Posted November 14, 2011 Share Posted November 14, 2011 I want to create a automatic bus system in MTA ( like records in SA-MP ), what is the best way to do this? Link to comment
Charlie_Jefferson Posted November 14, 2011 Share Posted November 14, 2011 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. Link to comment
eAi Posted November 14, 2011 Share Posted November 14, 2011 Of course there is, there are scripts for controlling vehicles around. Link to comment
bandi94 Posted November 14, 2011 Share Posted November 14, 2011 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 Link to comment
12p Posted November 14, 2011 Share Posted November 14, 2011 (edited) Didn't you know there are createPed warpPedIntoVehicle setPedControlState ??? Edited November 14, 2011 by Guest Link to comment
bandi94 Posted November 14, 2011 Share Posted November 14, 2011 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 Link to comment
12p Posted November 14, 2011 Share Posted November 14, 2011 Explain me how Slothman made slothbots. Link to comment
DiSaMe Posted November 14, 2011 Share Posted November 14, 2011 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... Link to comment
12p Posted November 14, 2011 Share Posted November 14, 2011 Lol. It was setPedControlState, not setControlState 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