ivor Posted July 19, 2016 Posted July 19, 2016 عندي مشكلة في ماركر سيارات المقر اول ما اجيب السياره تطلع في جانب يعني المفترض وجهه امام الماركر لا جانب الماركر شو اسوي ؟
#STZ Posted July 19, 2016 Posted July 19, 2016 marker = createMarker(-3277.71826,-2942.23901,5.28445,"cylinder",3,25,151,178,255) local vehicles = {480,411,415,451,482,506,510,522,535,541,429,419,402,504,517,518,559,556,571,575,560,550,565,566,576,461,521} local vehicleT = {} function onMarkerHit(player) if ( getElementType(player) == "player" ) then if not( isPedInVehicle(player) ) then if ( isElement(vehicleT[player]) ) then destroyElement(vehicleT[player]) end local model = vehicles[math.random(#vehicles)] local x,y,z = getElementPosition(source) vehicleT[player] = createVehicle(model, -3247.97412,-2959.52710,5.00000) warpPedIntoVehicle ( player, vehicleT[player] ) end end end addEventHandler("onMarkerHit",marker,onMarkerHit) اول سطر الماركر ثاني سطر ايديهات السيارات سطر 11 المكان اللي السيارة بتنزل فيه
#STZ Posted July 19, 2016 Posted July 19, 2016 طيب ليش تسوي مشاركة جديد عدل علي مشاركتك اللي مسويها - ولا زيادة للمشاركات و خلاص
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