Jump to content

lyncon

Members
  • Posts

    6
  • Joined

  • Last visited

1 Follower

Details

  • Gang
    stack

Recent Profile Visitors

1,112 profile views

lyncon's Achievements

Square

Square (6/54)

2

Reputation

  1. You're just selecting awesomething, that's why it only pulls information that would be awesomething.
  2. A simple example of "bindKey", when you press a key that you put inside the "bindKey", it will execute, when executing it will check if the player is inside the ACL Admin or Group you exist that you want to put. Example: local key = "b" local statePress = "down" addEventHandler("onResourceStart", resourceRoot, function() for i, players in ipairs(getElementsByType("player")) do bindKey(players, key, statePress, checkGroupACL) end end) function checkGroupACL(player, key, state) local account = getAccountName(getPlayerAccount(player)) if isObjectInACLGroup("user." .. account, aclGetGroup("Admin")) then print("Yes, it's inside the 'Admin' ACL") else print("Error, not inside ACL 'Admin'") end end
  3. The GUI and DX functions do not work on files of the "shared" type, they only work on the "client" type. See the @Zango example above.
  4. You are using an element called source and you put a source element inside getAccountPlayer and you are using a source element, in which case I would change it to player to understand it better. See the wiki for an example of aclGroupRemoveObject
  5. dxEditBoxs This project was entirely developed by myself. this structure allows you to create edits in dxs. Edibox works in the same way as the standard CEGUI, so you don't have much work to adapt your code to this structure. Note the format that was written in the OOP format (using meta-tables, not the standard MTA system). Download Soon back
  6. Congratulations on the project. ?
×
×
  • Create New...