DaNeE Posted July 13, 2011 Share Posted July 13, 2011 Hy guys. My friend make Role Play server in MTA. And we can do normal Ped, who only stand. But we cant do e.g. Planes, Cars, Boats, Trains, Bus,etc. Can u help me how Can we do this? P.S. On Other forum some people said, try to use OMG... Not work! So pls other idea! Thanks! Daniel. Link to comment
#Paper Posted July 13, 2011 Share Posted July 13, 2011 You want to make a ped and make it in a vehicle? acitanox = createPed( 0, x, y, z ) if acitanox then warpPedIntoVehicle( acitanox , theVehicle, 2 ) end Link to comment
DaNeE Posted July 13, 2011 Author Share Posted July 13, 2011 But I want to drive the vehicle. So drive throught city, etc. Link to comment
bandi94 Posted July 13, 2011 Share Posted July 13, 2011 (edited) yes he warped the ped in vehicle you are able to drive the car and the ped is in vehicle ... (if you site on driver side you can drive the car ) use addEventHandler("onVehicleEnter", getRootElement(), function(thePlayer, seat, jacked) acitanox = createPed( 0, 0, 0, 0 ) if acitanox then warpPedIntoVehicle( acitanox , source, 2 ) end end try this server side Edited July 13, 2011 by Guest Link to comment
DaNeE Posted July 13, 2011 Author Share Posted July 13, 2011 Not I am the driver, The Ped drive the car. Bandi where are u from? Hungary? If yes add me on your MSN: [email protected] Link to comment
bandi94 Posted July 13, 2011 Share Posted July 13, 2011 i am form romania but i speak hungarian .... i don't have msn can you give me skype or yahoo Link to comment
DaNeE Posted July 13, 2011 Author Share Posted July 13, 2011 Elküldtem PM-ben a választ Link to comment
DiSaMe Posted July 13, 2011 Share Posted July 13, 2011 To make the ped drive, you need setPedControlState. Link to comment
bandi94 Posted July 13, 2011 Share Posted July 13, 2011 i speak on skype and he whant's a bus whit a ped who drive it automatic and stop on bustop real players go in the bus and automatic ped drive it to next bus stop... (like in real life but he whants the driver to be a 100% script controled ped ) Link to comment
DaNeE Posted July 13, 2011 Author Share Posted July 13, 2011 Yes. Ty bandi. But Thaks all everybody. We will try. Link to comment
Castillo Posted July 14, 2011 Share Posted July 14, 2011 You'll need some scripting knowledge to achieve this, I would suggest you (if you are new to scripting) to try with something easier first. 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