ParadoxTR Posted January 19, 2016 Posted January 19, 2016 I want you to get a ped opened the car door. How I do? Website: http://www.mtasaturk.comSH Gaming - Owner
ParadoxTR Posted January 20, 2016 Author Posted January 20, 2016 setPedControlState How can I do? Can you explain a little. Website: http://www.mtasaturk.comSH Gaming - Owner
knightscript Posted January 20, 2016 Posted January 20, 2016 Can you explain better what you want to achieve?. My Scripts: Custom vehicle by ACL Custom vehicle by Account
ParadoxTR Posted January 20, 2016 Author Posted January 20, 2016 I do it. Ped is not opened the car door. Please example. Website: http://www.mtasaturk.comSH Gaming - Owner
knightscript Posted January 20, 2016 Posted January 20, 2016 What do you want to do?, you want to get who opened the vehicle door? My Scripts: Custom vehicle by ACL Custom vehicle by Account
ParadoxTR Posted January 20, 2016 Author Posted January 20, 2016 I create a ped. example; Ped = createPed ( 120, 5540.6654, 1020.55122, 1240.545 ) I want to this "Ped" is opened the car door. Website: http://www.mtasaturk.comSH Gaming - Owner
knightscript Posted January 20, 2016 Posted January 20, 2016 Well i don´t know if that is possible, but you can warp the ped directly inside a vehicle with this: function warpped( ) local Ped = createPed ( 120, 5540.6654, 1020.55122, 1240.545 ) local Vehicle = createVehicle ( 411, 4, 0, 3 ) warpPedIntoVehicle ( Ped, Vehicle ) --you can set the seat where the player would be warped to, example: --warpPedIntoVehicle ( Ped, Vehicle, 0) --Warps the vehicle as the driver end addCommandHandler ( "warp1", warpped) --command EDIT: If you want to warp the ped to your current vehicle, replace local Vehicle = createVehicle ( 411, 4, 0, 3 ) with local Vehicle = getPedOccupiedVehicle (source) I Didn´t test this, if you need more help just reply and I will try my best EDIT: tested: My Scripts: Custom vehicle by ACL Custom vehicle by Account
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