Jump to content

Need help with script


BlackPoop

Recommended Posts

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

Link to comment

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...