Jump to content

Bandeira do país no scoreboard


Recommended Posts

tente isso nao testado

local Mortes = {} 
local Assaninatos = {} 
  
addEventHandler("onPlayerConnect",root, 
function() 
Mortes.source = 0 
Assaninatos.source = 0 
end)  
  
addEventHandler("onPlayerWasted",root, 
function(_,killer) 
Mortes.source = Mortes.source +1 
if killer then 
Assaninatos.killer = Assaninatos.killer +1 
end 
local flag = Assaninatos.killer - Mortes.killer 
setElementData(killer,"Flag",flag) 
local flag2 = Assaninatos.source - Mortes.source 
setElementData(source,"Flag",flag2) 
end) 
  
  

de start e reconect

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