Vladimir5 Posted January 2, 2012 Posted January 2, 2012 This script doesn't work,it's from wiki. function createTeamsOnStart () teamAdmmin = createTeam ( "Admin", 0, 255, 0 ) --change the 3 numbers(0,255,0), the first number is ColourR, the second is ColourG, and the last one is ColourB teamFreeroamers = createTeam ( "Freeroamer", 200, 0, 100 ) end addEventHandler("onResourceStart", resourceRoot, createTeamsOnStart) --we attach the function to this resource's root element
Vladimir5 Posted January 2, 2012 Author Posted January 2, 2012 I can't add teams with script... Gang system. Gang. Teams don't creating!
rublisk19 Posted January 2, 2012 Posted January 2, 2012 so it don't create team or doesn't set player to the team ?
Xeno Posted January 2, 2012 Posted January 2, 2012 Create the teams OUTSIDE the function teamAdmmin = createTeam ( "Admin", 0, 255, 0 ) --change the 3 numbers(0,255,0), the first number is ColourR, the second is ColourG, and the last one is ColourB teamFreeroamers = createTeam ( "Freeroamer", 200, 0, 100 )
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