Jump to content

help..Making script work only with the team i choose.


SonicTHedgehog

Recommended Posts

I have a spawn script.. it make players choose thier skin before playing.. i want it just for new players( the players that join the server first time) because i want to save the registered players skins + position .. help me please + i can you tell me how to make a script that every one can use it .. just for admins ? or a team that i choose ? help me if thats possible. ty :roll:

Link to comment

EDIT:

local account = getPlayerAccount(player) 
local data =getAccountData(account,"skin") 
if skin then  
setElementModel(data) 
else 
  
...--- here put the skin chose function and after  
  
setAccountData(account,"skin",getElementModel(player)) 
end 

Edited by Guest
Link to comment

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