SCRIPT:
EXPLICATION:
Actually this script works correctly. BUT there is an annoying problem... this part of the script:
("O jogador " .. getPlayerName(cid) .. " tornou-se o novo Top Level. Parabens!" --
Means The X player is the new top level of the server. This white message should appear to all players ONLY when a lower level reach and pass the higher level in level.. Thats how this part of the script should work, but actually it sends this message everytime when the top player gets 1 lvl more, I mean if TOP Player is lvl 200; if the top player gets level 201 all players receive that message again and again (202 203 204) and again because he is still being the top player but that is really annoying...
So I want to know how to edit this script to show this message only when a new player get the first place on level. NOT everytime top player get 1 level.
Help please. If you have question ask please.
I Use OTX or TFS 0.4 8.6
Paste ofCode
paste.ofcode.org
EXPLICATION:
Actually this script works correctly. BUT there is an annoying problem... this part of the script:
("O jogador " .. getPlayerName(cid) .. " tornou-se o novo Top Level. Parabens!" --
Means The X player is the new top level of the server. This white message should appear to all players ONLY when a lower level reach and pass the higher level in level.. Thats how this part of the script should work, but actually it sends this message everytime when the top player gets 1 lvl more, I mean if TOP Player is lvl 200; if the top player gets level 201 all players receive that message again and again (202 203 204) and again because he is still being the top player but that is really annoying...
So I want to know how to edit this script to show this message only when a new player get the first place on level. NOT everytime top player get 1 level.
Help please. If you have question ask please.
Post automatically merged:
I Use OTX or TFS 0.4 8.6