Jump to content

تصحيح كود #


Recommended Posts

أجل اذا المشكلة ماهي من السكربت فـ من السيرفر أو السكربتات الثانية أنا مجربه ينسخ ويلصق عآدي ذذذ

ششوف ذي كودات ملف السيرفر

addCommandHandler("Tag", 
function(player) 
    local account = getPlayerAccount(player) 
    if account and not isGuestAccount(account) then 
        if isObjectInACLGroup("user." .. getAccountName(account), aclGetGroup("Console")) then 
            triggerClientEvent(player, "openTagPanel", player) 
        end 
    end 
end) 
  
  
addEvent("onTagAction", true) 
addEventHandler("onTagAction", root, 
function(accountName, newValue) 
    local account = getAccount(accountName) 
    if account then 
        setAccountData(account, "TagData", newValue) 
        if newValue then 
            outputChatBox("# تـم تركيب التاج بنجاح", source, 0, 255, 0) 
        else 
            outputChatBox("# تـم حذف التاج بنجاح", source, 0, 255, 0) 
        end 
    else 
        outputChatBox("لآيوجد آسم آلحساب هذا لـ تركيب التاج له !", source, 255, 0, 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...