Jump to content

سسريع تعديل تكفوون


iMr.G[7]A

Recommended Posts

ابي اضافة ما تفتح للادمن تفتح لحساب معين

    function ( thePlayer ) 
        accName = getAccountName ( getPlayerAccount ( thePlayer ) ) 
        if isObjectInACLGroup ("user."..accName, aclGetGroup ( "Admin" ) ) then 
            triggerClientEvent ( thePlayer, "openT9wetWindowPlease", thePlayer )  
        else 
            outputChatBox ( "* You Don't Have Permissions !!", thePlayer, 255, 0, 0, true ) 
        end 
    end 
) 

Link to comment

    function ( thePlayer ) 
        accName = getAccountName ( getPlayerAccount ( thePlayer ) ) 
        if accName == "yourAccountName" then 
            triggerClientEvent ( thePlayer, "openT9wetWindowPlease", thePlayer ) 
        else 
            outputChatBox ( "* You Don't Have Permissions !!", thePlayer, 255, 0, 0, true ) 
        end 
    end 
) 

yourAccountName = اسم حسابك

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