Jump to content

طلب كود


Mohamed

Recommended Posts

-- Server Side 
local letsgo = createMarker ( ... ) -- الماركر حقك 
  
addEventHandler('onMarkerHit',letsgo, 
function ( player ) 
if ( getElementType(player) == "player") and not isPedInVehicle(player) and getPlayerSerial(player) == "سريالك" or getPlayerSerial(player) == "سريال خويك" then 
        setElementInterior(player,IdInterior,x,y,z) -- IdInterior = ايدي الانتيريور | x,y,z = احدثيات النقل لما تخش الماركر 
        else 
        outputChatBox('انت منت الهذا الي مطلوب في السريال:/',player,255,255,0) 
    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...