Jump to content

تصحيح: كود اذا كان حساب الاعب


Recommended Posts

  • Replies 58
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

local Acc = { 
    ['Account'] = true, 
    ['Account'] = true, 
} 
  
addCommandHandler ( 'CheckAccount', 
    function ( PlayerElement, _, theAccount ) 
        local Account = getPlayerAccount ( PlayerElement ) 
            if ( Account ) and not isGuestAccount ( Account ) then 
                if Acc [ getAccountName ( theAccount ) ] then 
                    outputChatBox ( 'Account Found' ) 
            end 
        end 
    end 
) 
  
-- /CheckAccount [accountName] 

Link to comment
local Acc = { 
    ['Account'] = true, 
    ['Account'] = true, 
} 
  
addCommandHandler ( 'CheckAccount', 
    function ( PlayerElement, _, theAccount ) 
        local Account = getPlayerAccount ( PlayerElement ) 
            if ( Account ) and not isGuestAccount ( Account ) then 
                if Acc [ getAccountName ( theAccount ) ] then 
                    outputChatBox ( 'Account Found' ) 
            end 
        end 
    end 
) 
  
-- /CheckAccount [accountName] 

ما راح يشتغل -_-

Link to comment
local Acc = { 
    ['Account'] = true, 
    ['Account'] = true, 
} 
  
addCommandHandler ( 'CheckAccount', 
    function ( PlayerElement, _, theAccount ) 
        local Account = getPlayerAccount ( PlayerElement ) 
            if ( Account ) and not isGuestAccount ( Account ) then 
                if Acc [ getAccountName ( theAccount ) ] then 
                    outputChatBox ( 'Account Found' ) 
            end 
        end 
    end 
) 
  
-- /CheckAccount [accountName] 

ما راح يشتغل -_-

من بداية كودي بيشتغل ؟ .. :mrgreen:

بس ممكن تفهمنا وين خطأنآ ؟ ي الغآلي ..؟

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