Hey all
I created a local server to play with my friends there also i want to make it as good as i can.So i downloaded a lots of scripts but i need help with 1 script.
I need help with loggedadmin script.Script wich shows the staff/admin when he logs in.So it shows it at the chatbox but i want in the right down of the screen.I tried some things but it wont work.
function login()
if isObjectInACLGroup("user." .. getAccountName(getPlayerAccount(source)), aclGetGroup("Big.Admin")) then
outbutChatbox("* #000000[ #C11B17Head Admin #000000] #ff0000" .. getPlayerName(source) .. "#000000, #00bbcc Has logged in.", getRootElement(), 255,0,0, true)
--
elseif isObjectInACLGroup("user." .. getAccountName(getPlayerAccount(source)), aclGetGroup("Admin")) then
outbutChatbox("#000000 #00bbccStaff #000000 #00bbcc" .. getPlayerName(source) .. "#000000 #00bbcc logged in.", getRootElement(), 255,0,0, true)
end -- The End of " if "
end -- The End of " function login "
addEventHandler("onPlayerLogin", getRootElement(), login)
It`s the script and i want it to show the admins logged in in the down right side of the screen
Please help if you can i really need it.Thank you