Jump to content

lyncon

Members
  • Posts

    9
  • Joined

  • Last visited

1 Follower

Recent Profile Visitors

1,532 profile views

lyncon's Achievements

Civilian

Civilian (7/54)

2

Reputation

  1. Make a post that anyone can understand, I myself didn't understand what you posted. condemned from a store or an interior?
  2. The function SetPlayerSkin has been discontinued, use the function SetElementModel
  3. You're just selecting awesomething, that's why it only pulls information that would be awesomething.
  4. 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
  5. 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.
  6. 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
  7. Congratulations on the project. ?
×
×
  • Create New...