Jump to content

Xiti userpanel


Sex*

Recommended Posts

Posted

So I bought Xiti userpanel from some random player but I dont earn money when over 3 players is in. Only getting money with hunter. There was some resetStats command but it didnt reset stats:

addCommandHandler("resetStats",  
function (player, cmd, arg1) 
    if (arg1) then 
        local account = getPlayerAccount(player) 
        if (isObjectInACLGroup("user." ..getAccountName(account), aclGetGroup("Admin"))) then 
            local target = getPlayerWildcard(arg1) 
            if (target) then 
                local account = getPlayerAccount(target) 
                if not (isGuestAccount(account)) then 
                    for i, data in ipairs(dataTable) do 
                        setAccountData(account, data, "0") 
                        outputDebugString("Setting data: "..tostring(data).." for player: "..tostring(getPlayerName(target)).." to 0") 
                    end 
                end 
                if not (isGuestAccount(account)) then 
                    for i, data in pairs(textDataTable) do 
                    end 
                end 
            end 
        end 
    end 
end) 
  
  
  
function checkLoggedPlayer() 
    for id,thePlayer in pairs(getElementsByType("player")) do 
        local account = getPlayerAccount(thePlayer) 
        if not (isGuestAccount(account)) then 
            onPlayerLoginHandler(thePlayer) 
        end 
    end 
end 

Posted

You bought it? that sounds strange, since it was uploaded to the community days ago.

San Andreas Utopia RPG (SAUR) Owner & Developer.

560x95_FFFFFF_FF9900_000000_000000.png

Education is the most powerful weapon which you can use to change the world.

Posted

Yeah, well, everyone can say that.

Next time, try to "buy" it from someone who will fix the bugs.

Topic locked.

San Andreas Utopia RPG (SAUR) Owner & Developer.

560x95_FFFFFF_FF9900_000000_000000.png

Education is the most powerful weapon which you can use to change the world.

Guest
This topic is now closed to further replies.
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...