Flipi Posted August 18, 2013 Share Posted August 18, 2013 Hola, necesito saber como hacer un teleport donde se pueda tele-transportar con o sin vehiculo, con un comando predeterminado ejemplo "/nombre del lugar", ojala me puedan ayudar Link to comment
bandi94 Posted August 18, 2013 Share Posted August 18, 2013 Hola ,coma ebe aba bele ............ English please Link to comment
Flipi Posted August 18, 2013 Author Share Posted August 18, 2013 Hola ,coma ebe aba bele ............English please Hi, I need to know how to make a teleport where you can teleport with or without vehicle with a default command such as "/ name of the place", hopefully I can help (sorry bad english) Link to comment
DNL291 Posted August 19, 2013 Share Posted August 19, 2013 isPedInVehicle getPedOccupiedVehicle setElementPosition addCommandHandler Link to comment
InVision Posted August 19, 2013 Share Posted August 19, 2013 function Teleport(thePlayer) if getPedOccupiedVehicle(thePlayer) then setElementPosition ( thePlayer, X, Y, Z ) setElementFrozen(thePlayer, true) setPedGravity(thePlayer, 0) setElementDimension(thePlayer, 0) setElementInterior(thePlayer, 0) end end addCommandHandler("placename", Teleport) 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