'~DaLesTe^' Posted April 28, 2015 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" )
DNL291 Posted April 29, 2015 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. Please do not PM me with scripting related question nor support, use the forums instead.
'~DaLesTe^' Posted May 4, 2015 Author 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 ?
Walid Posted May 4, 2015 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. Do not yield your back to your enemy, might feel something strange in your ass. Two things are infinite the universe and human stupidity and i'm not sure about the universe. UF: IsTextInGridList | GetGridListRowIndexFromText | Table.removeValue | removeHex | dxDrawTriangle Skype: SaSuki102 | About Me | Youtube channel | Lua Tips & Tricks | Lua Strings | Lua Tables | Lua Operators
'~DaLesTe^' Posted May 8, 2015 Author 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?
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