Jump to content

مطلوب مساعدة باكمال كود


Recommended Posts

-- Server Side 
local mr11 = createMarker ( 2776.3, 1235.5, 10.8, "corona", 2, 255, 0, 0 ) -- مكان الماركر 
  
addEventHandler ( "onMarkerHit", mr11, 
    function ( vehicle ) 
        if getElementType ( vehicle ) == "vehicle" then 
            local player = getVehicleOccupant ( vehicle, 0 ) 
            if player then 
                local group = getElementData ( player, "Group" )  
                if group then 
                    if group ~= "GHOST" then 
                        outputChatBox ( "#FF0000* #FFF000Only For #FF0000 .:[GHOST]:. #FFF000Group ", player, 255, 255, 0, true ) 
                    else 
                        outputChatBox ( "#FF0000* #00ff00leaders.parking .", player, 255, 255, 0, true ) 
                        setElementPosition ( vehicle, 2814.3, 1344.5, 40 )  -- مكان الانتقال 
                    end 
                end 
            end 
        end 
    end 
, false ) 

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