SonicTHedgehog Posted September 13, 2011 Share Posted September 13, 2011 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 Link to comment
bandi94 Posted September 13, 2011 Share Posted September 13, 2011 (edited) 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 September 13, 2011 by Guest Link to comment
Castillo Posted September 13, 2011 Share Posted September 13, 2011 get/setPedSkin is deprecated, you should use get/setElementModel instead. Link to comment
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now