argh argh....
Should i give you link to lua tutorial and debugging tutorial? Just check other topics - every 5 messages i'm posting these links but nobody even cares to CLICK those links:/
function addStatsData()
x = getElementData(localPlayer,"Race Loses")
if x ~= nil and x ~= false then
setElementData (localPlayer,"Race Loses", tonumber(x)+1)
else
setElementData (localPlayer,"Race Loses", 0)
end
end
addEventHandler("onClientPlayerWasted", getLocalPlayer(), addStatsData)
you just got to my personal blacklist of ppl not trying to think, which means i'm not interested in your topics anymore - if you care..