Jump to content

Hiding

Members
  • Posts

    63
  • Joined

  • Last visited

  • Days Won

    1

Everything posted by Hiding

  1. Hi, I would like to ask how to share Acl file in multiple servers? So I don't need to add the same rights in every single server.
  2. Oh, I get it, thank you guys so much!!
  3. local narrows = { {8843, 3736.6, -1569, 150.8, 349, 0, 60}, {8843, 3736.7, -1569, 170.6, 348, 180, 60} } function just_a_function() createObject(narrows[1]) createObject(narrows[2]) end // just_a_function() is called in other function It says 'createObject' [expected number at argument 1, got table]
  4. Hiding

    antiban

    Thank you guys, the last one is working! Btw is it working against kick? or can I use cancelEvent against kick?
  5. Hiding

    antiban

    Bad argument @ 'removeBan' [Expected ban at argument 1, got player]
  6. Hiding

    antiban

    It is works, I mean write to the chat "Bad idea", but is still banning
  7. Hiding

    antiban

    Bad argument @ 'outputChatBox' [Expected element at argument 2, got number '255"] but if I delete the outputChatbox part then nothing
  8. Hiding

    antiban

    Bad argument @ 'isObjectInACLGroup' [Expected acl-group at argument 2, got boolean]
  9. Hiding

    antiban

    Hm, it does not work
  10. Hiding

    antiban

    Thank you for your help, but I don't get it really..
  11. Hiding

    antiban

    function antiban ( banPointer, responsibleElement ) -- I dont know what I should to write here.. if isObjectInACLGroup ( "user." .. accountname, aclGetGroup ( "admin" ) ) then cancelEvent() outputChatBox("This is a bad idea. :)", 255, 255, 255, true) addEventHandler ( "onPlayerBan", getRootElement(), antiban )
  12. Hiding

    antiban

    Hello guys, I want to make a script which does not allow to ban the Admin, or the serial with supermoderator or with any rights. I have some ideas, but it does not enough to start it.
×
×
  • Create New...