Jump to content

طلب اكواد


SmoKing

Recommended Posts

ماني متأكد منه جرب ورد خبر

ID = { 
    { 1 }, { 2 }, { 3 }, 
} 
  
addEventHandler ( "onResourceStart", resourceRoot, 
    function ( rss ) 
        if getResourceInfo ( rss, "type" ) == "map" then 
            for _, v in ipairs ( getElementsByType ( "player" ) ) do 
                if ID [ getElementData ( v, "ID" ) ] then 
                    killPed ( v ) 
                end 
            end 
        end 
    end 
) 

Link to comment

جرب ذا

-- Server Side 
ID = { 
    { 1 }, { 2 }, { 3 }, 
} 
  
addEventHandler ( "onPlayerSpawn", root, 
    function ( ) 
        local playerID = getElementData ( source, "ID" ) 
        if playerID then 
            if ID [ playerID ] then 
                killPed ( source ) 
            end 
        end 
    end 
) 

وإذا ماضبط عطني الأمر اللي يقتل اللاعب بالبيس مود

Link to comment

ما تقدر تعدله من الأدمنية ..

استخدم الكود ذا

setElementData ( source, "ID", 5 ) 

بس إحتمآل كبير يصير تعارض بين لاعبين نفس الأي دي و يضرب القيم معك ذذذذذ

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