AJXB Posted April 4, 2014 Share Posted April 4, 2014 (edited) Here is the code: Edited April 4, 2014 by Guest Link to comment
Saml1er Posted April 4, 2014 Share Posted April 4, 2014 spawnPlayer(source,0,0,0+ 0.5,0,skin) Replace this line. Link to comment
AJXB Posted April 4, 2014 Author Share Posted April 4, 2014 spawnPlayer(source,0,0,0+ 0.5,0,skin) Replace this line. With what? Link to comment
Saml1er Posted April 4, 2014 Share Posted April 4, 2014 spawnPlayer(source,0,0,0+ 0.5,0,skin) Replace this line. With what? Just copy this: addEventHandler("onPlayerLogin",root,function(_,curAcc) local team = getAccountData(curAcc,"team") setPlayerTeam(source,getTeamFromName ( team )) if tostring(team) == "Team1" then skin = 100 elseif tostring(team) == "Team2" then skin = 101 elseif tostring(team) == "Team3" then skin = 102 elseif tostring(team) == "Team4" then skin = 103 end outputChatBox (team) spawnPlayer(source,0,0,0+ 0.5,0, skin) end ) Link to comment
AJXB Posted April 4, 2014 Author Share Posted April 4, 2014 Thanks, I missed that point 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