Mike269 Posted February 3, 2014 Share Posted February 3, 2014 team = { } team["staff"] = createTeam ( "Staff", 255, 255, 255 ) team["military"] = createTeam ( "Armed Forces", 29, 99, 6 ) team["swatteam"] = createTeam ( "S.W.A.T.", 0, 90, 255 ) team["lawenforcement"] = createTeam ( "Law Enforcement", 40, 147, 242 ) team["Criminal"] = createTeam ( "Criminal", 255, 0, 0 ) team["Communtiy"] = createTeam ( "Community", 255, 255, 0 ) team["medic"] = createTeam ( "Medic", 0, 255, 255 ) team["unemployed"] = createTeam ( "Unemployed", 209, 218, 106 ) team["EleCtriC KiLlerS"] = createTeam ( "EleCtriC KiLlerS", 0, 0, 0 ) team["The Magic Assassins"] = createTeam ( "The Magic Assassins", 43, 20, 184 ) function setPTeam ( who, team ) if ( who ) and ( team) and ( getTeamFromName ( team ) ) then setPlayerTeam ( who, getTeamFromName ( team ) ) end end Hello guys how I can make spawn for team EXAMPLE: You have been spawned at Groove street as team ( The Magic Assassins) Thx! Link to comment
Mike269 Posted February 3, 2014 Author Share Posted February 3, 2014 oh but how? Can you edit it and paste me full Lua? Link to comment
TAPL Posted February 3, 2014 Share Posted February 3, 2014 Click on the function there is examples on the wiki. 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