#Sn[i]pêŘ Posted June 29, 2018 Share Posted June 29, 2018 (edited) Deleted Edited June 29, 2018 by Mr_SnipeR<3 Link to comment
Abdul KariM Posted June 29, 2018 Share Posted June 29, 2018 "onColShapeHit" getElementType destroyElement 1 Link to comment
Doffy Posted June 29, 2018 Share Posted June 29, 2018 1 minute ago, Mr_SnipeR<3 said: انا مسوي سايف زون بس بدي كود يمنع دخول السيارات لها يعني لو دخل الاعب بسيارته ، السايف زون تبعده على المنطقة بدون ما تنحذف سيارته ما لقيت كود مثل هيك في الويكي @#DesTroeyR @,#Savage @Abdul KariM ساعدوني ^__^ "onColShapeHit" isPedInVehicle getPedOccupiedVehicle setElementFrozen setElementPosition setTimer Just now, Abdul KariM said: "onColShapeHit" getElementType destroyElement 2 minutes ago, Mr_SnipeR<3 said: يعني لو دخل الاعب بسيارته ، السايف زون تبعده على المنطقة بدون ما تنحذف سيارته Link to comment
#Sn[i]pêŘ Posted June 29, 2018 Author Share Posted June 29, 2018 Just now, Abdul KariM said: "onColShapeHit" getElementType destroyElement من اول 5 ثواني رديت علي واو 2 minutes ago, #DesTroeyR said: "onColShapeHit" isPedInVehicle getPedOccupiedVehicle setElementFrozen setElementPosition setTimer مشكور محمد بس ممكن تعطيني السطر الثاني و الثالث جاهزين لاني ما بعرفهم Link to comment
Doffy Posted June 29, 2018 Share Posted June 29, 2018 6 minutes ago, Mr_SnipeR<3 said: من اول 5 ثواني رديت علي واو مشكور محمد بس ممكن تعطيني السطر الثاني و الثالث جاهزين لاني ما بعرفهم x,y,z = الاحداثيات الي تبي تنقله لها addEventHandler("onColShapeHit",root, function( hitElement ) if ( source == الكول شيب حقك ) then if ( getElementType(hitElement) == "player" ) then if isPedInVehicle(hitElement) then local vehicle = getPedOccupiedVehicle(hitElement) setElementPosition(vehicle, x,y,z) setElementFrozen(vehicle, true) setTimer(function( hitElement ) setElementFrozen(vehicle, false) end,5000,1,hitElement) end end end end ) Link to comment
#Sn[i]pêŘ Posted June 29, 2018 Author Share Posted June 29, 2018 4 minutes ago, #DesTroeyR said: x,y,z = الاحداثيات الي تبي تنقله لها addEventHandler("onColShapeHit",root, function( hitElement ) if ( source == الكول شيب حقك ) then if ( getElementType(hitElement) == "player" ) then if isPedInVehicle(hitElement) then local vehicle = getPedOccupiedVehicle(hitElement) setElementPosition(vehicle, x,y,z) setElementFrozen(vehicle, true) setTimer(function( hitElement ) setElementFrozen(vehicle, false) end,5000,1,hitElement) end end end end ) الحمد لله انك رحمتني هذي المرة مشكور | Thanks Link to comment
Doffy Posted June 29, 2018 Share Posted June 29, 2018 2 minutes ago, Mr_SnipeR<3 said: الحمد لله انك رحمتني هذي المرة مشكور | Thanks عفوآ Link to comment
,#Savage Posted June 30, 2018 Share Posted June 30, 2018 10 hours ago, Mr_SnipeR<3 said: Deleted I'm sorry Because i closed my device so i did not saw your alert 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