Jump to content

تعديل


Recommended Posts

ابي الكود ذا

يفتح بـ شخصيه ما ابيه يفتح بـ قروب ~ وبسس

        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
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
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

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...