mouamle Posted March 13, 2014 Share Posted March 13, 2014 السلام عليكم شباب أبي كودين ألأول ماركر يعطي سياره والثاني ماركر يسحب السياره يعني يخليني بدون سياره وشكرا Link to comment
EH10 Posted March 13, 2014 Share Posted March 13, 2014 جـرب * local vehicle = { } local marker1 = createMarker ( 2075.8999023438, 1350.1999511719, 598.70001220703, "cylinder", 2, 255, 255, 0, 255 ) local marker2 = createMarker ( 2075.8999023438, 1350.1999511719, 598.70001220703, "cylinder", 2, 255, 255, 0, 255 ) addEventHandler("onMarkerHit",root,marker1, function( element ) if ( getElementType ( element ) == "player" and not isPedInVehicle ( element ) ) then if ( isElement ( vehicle[element] ) ) then destroyElement ( vehicle[element] ) vehicle[element] = nil end local x,y,z = getElementPosition ( element ) vehicle[element] = createVehicle ( 552, 2074.6999511719, 1326.4000244141, 10.39999961853 ) outputChatBox( "لـقد اخـذت سـيـارهـ", element, 255,255,0, true ) end end ) addEventHandler("onMarkerHit",root,marker2, function() for i,v in ipairs(vehicles) do destroyElement(v) end end ) Link to comment
mouamle Posted March 13, 2014 Author Share Posted March 13, 2014 شباب أبي كودين واحد ماركر يعطي سياره والثاني ياخذ السياراه Link to comment
al-Kobra Posted March 13, 2014 Share Posted March 13, 2014 انت مخليه يسحب جميع السيارات في السيرفر Link to comment
فاّرس Posted March 13, 2014 Share Posted March 13, 2014 ^ غلطان بالجدول فقط , واصلا كاتب الجدول غلط , و الحدث غلط اساسا 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