Jump to content

[Ayuda] Contar kills de un clan


vinexX

Recommended Posts

addEventHandler("onPlayerWasted", getLocalPlayer(), function(killer, weapon, bodypart) 
    if getElementData(killer, "gang") == "clanwd"	then
	conteo = getElementData(root,"team1")
	setElementData(root,"team1",getElementData(root,"team1") + 1)
	outputChatbox("[server] clanwd tiene" ..conteo.. " Kills",root,255,255,0,true)
    else 
      return false 
    end 
end)

Hola amigos me ayudarían a poder arreglar este error ? :) el error es que quiero que al matar a un denominado "clan"  salga un outputChabox diciendo el nombre del clan y los kills que va matando ej : "Clan pitbulls tiene 41 kills." y así valla sumando... estaba intentando por esto pero no me sale nada :/  osea mato al miembro del clan y no  me sale el outputChabox...

por favor si es posible me eliminan el post me equivoque de lugar :D

 

Link to comment

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...