HeArTBeaT Posted November 11, 2012 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.
ali Posted November 11, 2012 Posted November 11, 2012 createTeam spawnPlayer setElementModel giveWeapon
manve1 Posted November 11, 2012 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!
abu5lf Posted November 11, 2012 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.
HeArTBeaT Posted November 11, 2012 Author 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 )"
manve1 Posted November 11, 2012 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
manve1 Posted November 11, 2012 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
HeArTBeaT Posted November 11, 2012 Author Posted November 11, 2012 BUT i DONT KNOW HOW TO SET POSITIONS or how to see them
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