Zie[E]D_)"U.R Posted August 27, 2017 Share Posted August 27, 2017 (edited) Hey guys i was trying to make a script that play music and display picture when a console logs in (for everyone) i tried to use IsObjectInAclGroup , DXDrawImage and playsound but somehow i couldnt link them together , can anyone help ? Edited August 27, 2017 by Zie[E]D_)"U.R Link to comment
NeXuS™ Posted August 27, 2017 Share Posted August 27, 2017 You'll have to use the onPlayerLogin event, check if the player is in the console ACL Group using the isObjectInAclGroup (which needs the getAccountName and aclGetGroup functions), and then just using an addEventHandler to draw the image using dxDrawImage, and then use the playSound function. And you'll have to use a custom event using addEvent because those functions are server-sided only. 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