Teams y Zombies

Recommended Posts

Hola buenas, Como puedo hacer que cuando un jugador tenga una cantidad de Zombies Kills (Zombies Asesinados) que yo quiera  y ingrese automaticamente a un team.

Share this post

Link to post
local equipo = createTeam('Asesino de zombies',0,255,0)
local data = 'Zombie KIlls'

local maxKills = 10

function muerteZombie(asesino)
	local kills = getElementData(asesino,data) or 0
	kills = kills+1
	if kills >= maxKills and getPlayerTeam(asesino) ~= equipo then


Share this post

Link to post

pero como lo puedo hacer algo asi es que no se como explicar,


if getElementData (source,"ZombiesKills") >= 4800 then setPlayerTeam (source,getFromName ("Legends")

Share this post

Link to post

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.