'~DaLesTe^' Posted April 28, 2015 Share Posted April 28, 2015 How can I make a script that adds a column in the scoreboard named "Class" and I can increase my class using / class Soldier / class Capitan ...? call ( getResourceFromName ( "scoreboard" ), "scoreboardAddColumn", "My Class" ) -- Note that this syntax is also valid exports.dxscoreboard:scoreboardAddColumn( "My Class" ) Link to comment
DNL291 Posted April 29, 2015 Share Posted April 29, 2015 exports.dxscoreboard:scoreboardAddColumn( "Class" ) -- Use the 2nd argument on the server-side addCommandHandler setElementData(player, "Class", value) -- In the 3rd argument, you define "Soldier", "Capitan", etc. Link to comment
'~DaLesTe^' Posted May 4, 2015 Author Share Posted May 4, 2015 Poderia mandar um codigo mais complexo ? Por exemplo faze-lo que sómente os jogadores que possuir uma Gangue / Grupo possam fazer este comando ? Link to comment
Walid Posted May 4, 2015 Share Posted May 4, 2015 Poderia mandar um codigo mais complexo ? Por exemplo faze-lo que sómente os jogadores que possuir uma Gangue / Grupo possam fazer este comando ? just english here. Link to comment
'~DaLesTe^' Posted May 8, 2015 Author Share Posted May 8, 2015 Poderia mandar um codigo mais complexo ? Por exemplo faze-lo que sómente os jogadores que possuir uma Gangue / Grupo possam fazer este comando ? just english here. You could have a more complex code? For example do so that as few players who have a gang can do this command? 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