_ArioN_ Posted July 26, 2019 Posted July 26, 2019 (edited) local mrk = createMarker(-2518.617, -613.057, 131.700, "cylinder", 2, 255, 0, 0, 255) function dararma ( thePlayer ) giveWeapon (thePlayer, 31, 400) giveWeapon (thePlayer, 23, 400) giveWeapon (thePlayer, 29, 400) giveWeapon (thePlayer, 3, 400) setPedSkin (thePlayer, 284) veh[player] = createVehicle(523, -2510.977, -609.219, 132.563) warpPedIntoVehicle(player, veh[player]) end addEventHandler ("onMarkerHit",mrk, dararma) Edited July 26, 2019 by _ArioN_
HassoN Posted July 26, 2019 Posted July 26, 2019 If you have used setElementPosition before then it won't work. Check your spawning system code. * There is No God but Allah discord: HassoN#2709 Visit my wiki profile: https://wiki.multitheftauto.com/wiki/User:Hassan_saad
HassoN Posted July 29, 2019 Posted July 29, 2019 (edited) 2 hours ago, _ArioN_ said: i haven't used setElementPosition. local mrk = createMarker(-2518.617, -613.057, 131.700, "cylinder", 2, 255, 0, 0, 255) local vehicles = {} function dararma ( thePlayer ) giveWeapon (thePlayer, 31, 400) giveWeapon (thePlayer, 23, 400) giveWeapon (thePlayer, 29, 400) giveWeapon (thePlayer, 3, 400) setPedSkin (thePlayer, 284) vehicles[thePlayer] = createVehicle(523, -2510.977, -609.219, 132.563) warpPedIntoVehicle(thePlayer, vehicles[thePlayer]) end addEventHandler ("onMarkerHit",mrk, dararma) Edited July 29, 2019 by HassoN * There is No God but Allah discord: HassoN#2709 Visit my wiki profile: https://wiki.multitheftauto.com/wiki/User:Hassan_saad
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