HeArTBeaT Posted November 11, 2012 Share Posted November 11, 2012 Hi I want to make a 4 teams script for a tdm server... I just want you guys to tell me about how to set team spawn , player skins , team names , how to make players spawn with certain weapons (will be usefull to me when I will make classes) Any tutorial links will be very usefull. Link to comment
ali Posted November 11, 2012 Share Posted November 11, 2012 createTeam spawnPlayer setElementModel giveWeapon Link to comment
manve1 Posted November 11, 2012 Share Posted November 11, 2012 team1 = createTeam( "Team1", 255, 255, 0 ) function noBigDeal() if getPlayerTeam( 'Team1' ) then spawnPlayer( 0, 0, 0 ) setElementModel( source, 287 ) giveWeapon( source, 31, 200 ) end end ONLY EXAMPLE! Link to comment
abu5lf Posted November 11, 2012 Share Posted November 11, 2012 team1 = createTeam( "Team1", 255, 255, 0 ) function noBigDeal() if getPlayerTeam( 'Team1' ) then spawnPlayer( 0, 0, 0 ) setElementModel( source, 287 ) giveWeapon( source, 31, 200 ) end end ONLY EXAMPLE! getPlayerTeam( 'Team1' ) ?? This function gets the current team a player is on. bad example. Link to comment
HeArTBeaT Posted November 11, 2012 Author Share Posted November 11, 2012 OK If I show you guys where I want to spawn them can you give me the vallues? "5.spawnPlayer( 0, 0, 0 )" Link to comment
manve1 Posted November 11, 2012 Share Posted November 11, 2012 team1 = createTeam( "Team1", 255, 255, 0 ) function noBigDeal() if getPlayerTeam( 'Team1' ) then spawnPlayer( 0, 0, 0 ) setElementModel( source, 287 ) giveWeapon( source, 31, 200 ) end end ONLY EXAMPLE! getPlayerTeam( 'Team1' ) ?? This function gets the current team a player is on. bad example. duh it gets the players team he is on, thats because if he ain't on that team, it won't work Link to comment
manve1 Posted November 11, 2012 Share Posted November 11, 2012 OK If I show you guys where I want to spawn them can you give me the vallues?"5.spawnPlayer( 0, 0, 0 )" its : spawnPlayer( posX, posY, posZ ) do it yourself Link to comment
HeArTBeaT Posted November 11, 2012 Author Share Posted November 11, 2012 BUT i DONT KNOW HOW TO SET POSITIONS or how to see them Link to comment
Baseplate Posted November 11, 2012 Share Posted November 11, 2012 or /start freeroam then /getpos 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