• There is NO official Otland's Discord server and NO official Otland's server list. The Otland's Staff does not manage any Discord server or server list. Moderators or administrator of any Discord server or server lists have NO connection to the Otland's Staff. Do not get scammed!

Change colors!

homarwh

Just a Milan fan.
Joined
Dec 29, 2012
Messages
93
Reaction score
3
Location
Mexico
im making a server of "kingdoms" and heres my problem:

i want when a player enter on server, he choose his side (1, 2 ,3 or 4) and when he choose, enter on a teleport and change his outfit and colors, and not allow him to change anymore, i got all this but, when a player dies, he get the "first outfit" again, like if he dies he take the all white citizen outfit !!!, idk how to change this, but it seems like is in here:

allowChangeColors = false

i want to let em change when enter on teleport and then not let allow colors
thank you.
 
You want them to be able to change themselves when they teleport somewhere and then not let them?

Why dont make something that sets their colors automaticly onStepIn or something?
 
You can let it change the outfit again when they login. You can add storage to the players with certain outfits then check for that storage in login.lua and set the outfit to what it was.
 
Back
Top