Jump to content

[Help] Team Spawn (Done)


amm2100

Recommended Posts

Posted (edited)

I need to spawn the Player According to his Team

i made 2 team one

local Red = createteam( "RedTeam" ) 

local Blue = createteam( "BlueTeam" ) 

How spawn and Re-spawn them according to Team

Edited by Guest
Posted

something like this?

function blabla(thePlayer) 
setPlayerTeam(thePlayer, Red) 
end 
addEventHandler("onPlayerSpawn", getRootElement(), blabla) 

Posted
Nope , I need onPlayerWaste if He red spawn in X ,Y ,Z

and if He Blue spawn in XBlue ,YBlue ,ZBlue

Okey you should use these functions:

  
spawnPlayer 
onPlayerWasted 
getTeamFromName 
  

good luck!

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...