Exemplo n.º 1
0
 public void setJobviaID(int job)
 {
     this.Job          = mJob.getJobfromID(job);
     this.NametagColor = Job.Color;
     this.Team         = Job.Team;
     this.SetData("o", Job.Title, true);
     Program.dx.Invoke("add", this.MTAElement, "job", Job.Title, Job.Color.R, Job.Color.G, Job.Color.B);
 }
Exemplo n.º 2
0
 public void setJob(string job)
 {
     this.Job          = mJob.Jobs[job];
     this.NametagColor = Job.Color;
     this.Team         = Job.Team;
     this.SetData("o", Job.Title, true);
     Program.dx.Invoke("add", this.MTAElement, "job", Job.Title, Job.Color.R, Job.Color.G, Job.Color.B);
 }