Shallow Posted September 9, 2018 Share Posted September 9, 2018 Hey guys! My question: i want to let a team on scoreboard appear when you login. Like no staff is online there is no staff team on scoreboard but if a staff is logging in the staff team appears in scoreboard. How can i do this? Can i do this with: createStaffTeamOnJoin or so?? Greedings Shallow Link to comment
Soapbosnia Posted September 9, 2018 Share Posted September 9, 2018 https://wiki.multitheftauto.com/wiki/OnPlayerJoin https://wiki.multitheftauto.com/wiki/CreateTeam https://wiki.multitheftauto.com/wiki/SetPlayerTeam https://wiki.multitheftauto.com/wiki/OnPlayerQuit https://wiki.multitheftauto.com/wiki/DestroyElement That's all you need. Link to comment
VenomOG Posted September 9, 2018 Share Posted September 9, 2018 addEventHandler("onPlayerJoin",root,function() team = createTeam("Admin", 0, 255, 0) setPlayerTeam(source, team) end) 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