exports.scoreboard:scoreboardAddColumn( "score" )
function xcore ()
zcore = getElementData(source,"score") or 0
setElementData(source,"score",zcore+5)
end
addEvent("onPlayerWasted",true)
addEventHandler("onPlayerWasted",getRootElement(),xcore)
I have DD server, and in scoreboard have score column. If player is the last survivor, he win 5 points. And its work, but when player leaves server and enters again, point disappear.
Can someone help me to save this point in player account?
Thanks