iMr.G[7]A Posted April 22, 2014 Share Posted April 22, 2014 ابي الكود ذا يفتح بـ شخصيه ما ابيه يفتح بـ قروب ~ وبسس local groupName = "[Army]" local x, y, z = 642.76642 ,1931.72668 ,19.20983 local colShape = createColRectangle ( -126.26940917969, 1636.9686279297, 40.705104827881, 584.5, 589.75, 2 ) addEventHandler ( "onColShapeHit", colShape, function ( theElm ) if ( getElementType ( theElm ) == "player" ) and ( getElementData ( theElm, "gang" ) ~= groupName ) then if ( isPedInVehicle ( theElm ) ) then setElementPosition ( getPedOccupiedVehicle ( theElm ), 643.29998779297,1715.5,7 ) else setElementPosition ( theElm, 643.29998779297,1715.5,16 ) end end end ) Link to comment
ALw7sH Posted April 22, 2014 Share Posted April 22, 2014 local groupName = "[Army]" local x, y, z = 642.76642 ,1931.72668 ,19.20983 local colShape = createColRectangle ( -126.26940917969, 1636.9686279297, 40.705104827881, 584.5, 589.75, 2 ) addEventHandler ( "onColShapeHit", colShape, function ( theElm ) if ( getElementType ( theElm ) == "player" ) and ( getElementModel(theElm) == 1 ) then --- غير رقم الشخصية if ( isPedInVehicle ( theElm ) ) then setElementPosition ( getPedOccupiedVehicle ( theElm ), 643.29998779297,1715.5,7 ) else setElementPosition ( theElm, 643.29998779297,1715.5,16 ) end end end ) Link to comment
ahmed1010 Posted April 22, 2014 Share Posted April 22, 2014 local groupName = "[Army]" local x, y, z = 642.76642 ,1931.72668 ,19.20983 local colShape = createColRectangle ( -126.26940917969, 1636.9686279297, 40.705104827881, 584.5, 589.75, 2 ) addEventHandler ( "onColShapeHit", colShape, function ( theElm ) if ( getElementType ( theElm ) == "player" ) and ( getElementModel(theElm) == 1 ) then --- غير رقم الشخصية if ( isPedInVehicle ( theElm ) ) then setElementPosition ( getPedOccupiedVehicle ( theElm ), 643.29998779297,1715.5,7 ) else setElementPosition ( theElm, 643.29998779297,1715.5,16 ) end end end ) local groupName = "[Army]" local x, y, z = 642.76642 ,1931.72668 ,19.20983 local colShape = createColRectangle ( -126.26940917969, 1636.9686279297, 40.705104827881, 584.5, 589.75, 2 ) addEventHandler ( "onColShapeHit", colShape, function ( theElm ) if ( getElementType ( theElm ) == "player" ) and ( getElementModel(theElm) ~= 1 ) then --- غير رقم الشخصية if ( isPedInVehicle ( theElm ) ) then setElementPosition ( getPedOccupiedVehicle ( theElm ), 643.29998779297,1715.5,7 ) else setElementPosition ( theElm, 643.29998779297,1715.5,16 ) end end end ~= Link to comment
ahmed1010 Posted April 22, 2014 Share Posted April 22, 2014 ~= هذي العلامة يعني ليس هو يبى اللى ما يكون شخصيته مصلا رقم 1 يتنقل على مكان مو اللى شخصيته رقم 1 هو مسوى نظام حماية للمقر Link to comment
al-Kobra Posted April 22, 2014 Share Posted April 22, 2014 يعني تحقق كولونيل صح اذا كانت الشخصية "1" ينقله 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