qaisjp Posted October 14, 2011 Share Posted October 14, 2011 I fixed it, what was the point of your post, what is sooo funny lol? Link to comment
taryn Posted October 14, 2011 Share Posted October 14, 2011 I fixed it, what was the point of your post, what is sooo funny lol? my bad i quoted the last post on the first page, i didnt know there was a second page and that it was corrected Link to comment
codeluaeveryday Posted October 20, 2011 Share Posted October 20, 2011 function adminchat(thePlayer, ...) local word = {...} local message = table.concat(word, " ") local account = getPlayerAccount ( thePlayer ) if isObjectInACLGroup ( "user." .. getAccountName(account), aclGetGroup ( "Admin" ) ) then outputChatBox ( "#C6FA78[Admin]" .. getPlayerName ( thePlayer ) .. ": " .. message, getRootElement(), 255, 255, 255, true ) else outputChatBox("#C6FA78No.", getRootElement(), 255, 255, 255, true) end end addCommandHandler("a", adminchat) Worked, thanks! But it displays as: (color here)[Admin]Charlie: a test. And I didn't put that a there. Help! As far as i know, you wont require a table, it only contains errors... Link to comment
Charlie_Jefferson Posted October 21, 2011 Author Share Posted October 21, 2011 It all worked. /solved, /lock. Link to comment
Puma Posted October 21, 2011 Share Posted October 21, 2011 Ehm... Just use "/bindkey chatbox adminchat" and you're done. You don't need script for it . Link to comment
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now