Jump to content

Simple Question


-.Paradox.-

Recommended Posts

Posted

Hello, i want to made a Class system, i want when player join give him random class from 10 classes, what i could use to do that?

If you're looking for a cheap paid scripter, don't hesitate to contact me.

Great minds discuss ideas, Average minds discuss events and small minds discuss people.

Posted

It's not a number I'm using some different names, what about Events what i should use?

If you're looking for a cheap paid scripter, don't hesitate to contact me.

Great minds discuss ideas, Average minds discuss events and small minds discuss people.

Posted

see.

Add classes to table,then math.random.

  
classes={ 
[1]={"0,0,0","NameOfTeam"},--Position,name of team 
[2]={"0,0,0","NameOfTeam"},--Position,name of team 
[3]={"0,0,0","NameOfTeam"},--Position,name of team 
--etc 
} 
teams={ } 
  
--Then function: 
function setClass() 
  
end 
addEventHandler("onPlayerLogin",getRootElement,setClass) 
  

You can make so:

CreateTeam with names of Classes and when you'll spawn,player will get random teams.

Police job script progress: 100%

Courier job script progress::7%

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