Bogdan_jestem Posted July 26, 2022 Share Posted July 26, 2022 Mam problem ponieważ gdy próbuje wjechać autem w marker nie następuje teleportacja dopiero jak wysiądę z auta. używam skryptu z internetu ponieważ sam nie umiem takiego napisać a niema nigdzie żadnych poradników. Ten skrypt pobrałem pod jakimś filmikiem na yt. Ten skrypt działa tylko na postać. Nie umiem sobie z tym poradzić jakby ktoś pomógł to dzięki. local marker1 = createMarker(2450.60742,-1762.62109,13.61850, "cylinder", 3, 27,201,227,255) function teleport1(player) if player == localPlayer then setElementPosition(player, 2404.46631,-1737.97083,-4.83252) setPedRotation (player, 90) setElementFrozen(player, false) setTimer(setElementFrozen, TIME, 1, player, false) end end addEventHandler("onClientMarkerHit", marker1, teleport1) Link to comment
Vampire Posted July 26, 2022 Share Posted July 26, 2022 Hello @Bogdan_jestem and welcome! Moving this to the Polish Scripting section as it's most suitable and you can get better assistance in your native language. Remember to always write in English when posting outside of this section. Link to comment
Bogdan_jestem Posted July 26, 2022 Author Share Posted July 26, 2022 ok sorry i didn't know there was such a thing 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