Jump to content

تعديل كود


Recommended Posts

السلام عليكم

شباب انا اخذت ذا الكود الي موجود هنا

بس ممكن تعدلولي :(

ابيه اذا احد صكني باند اي بي او سريال ياخذ باند ابدي

    addEventHandler("onBan",root, 
    function(ban) 
        if(getBanIP(ban)=="..")then 
        else(getBanSerial(ban)=="..")then    
            removeBan(ban) 
            banPlayer(source,true,true,true,nil,nil,0) 
        end 
    end) 

كذا صح ؟

Link to comment
addEventHandler( 'onBan', getRootElement( ), 
    function( ban ) 
        if getBanSerial( ban ) == 'سريالك' then 
            removeBan( ban ) 
            banPlayer( source, false, false, true, getRootElement( ), 'سبب الباند' ) 
        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...