Jump to content

[HELP] "Job" instead of "Team"


ViRuZGamiing

Recommended Posts

Posted

Hello Community,

A Part of the Script:

if getPlayerTeam(player) == getTeamFromName("Medic") then 

I don't want my Scoreboard to be longer and longer so I thought...

Can I add a instead of a Row saying Medic add an Colomn Job.

Greetings Billy

Guest Guest4401
Posted

You mean column in scoreboard right?

exports.scoreboard:scoreboardAddColumn('Job') 
  
setElementData(player,'Job','Medic') -- set job 
getElementData(player,'Job') -- get job 

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...