• Content Count

  • Joined

  • Last visited

Community Reputation

0 Neutral

About Carmelo12

  • Rank
    I ordered some spaghetti with marinara sauce and I got egg noodles and ketchup. I'm an average nobody.
  1. Carmelo12

    help staffchat

    How can I make this resource like the globalchat? I mean that by touching a key I can open the chat and send the text, so I do not have to type a command / u [text] function ADMINCHAT ( thePlayer, cmd, ... ) local accountname = getAccountName(getPlayerAccount(thePlayer)) if isObjectInACLGroup ( "user." .. accountname, aclGetGroup ( "Admin" )) then message = table.concat({...}," ") outputChatBox ("#5594FF[CHAT]-#FE5757"..getPlayerName(thePlayer)..": #FFFFFF"..message.."",getRootElement(thePlayer),255,255,255, true) end end addCommandHandler ( "u", ADMINCHAT )