1. I want to send player message when he look at item with uid ,
its function onLook and i tried if thing.uid == xxxx then
but its doesnt work :|
2. I want to get information from database about best player ( person who have the best level)
i tried this
but it doesnt work but if it would work it would show Level of player cid :S but i want to show player who have the best level
3. The same as point 2 but i want to get information about concrete proffesion, for example i look on the door and i see the best knight on the server
its function onLook and i tried if thing.uid == xxxx then
but its doesnt work :|
2. I want to get information from database about best player ( person who have the best level)
i tried this
PHP:
db.getResult("SELECT `level` FROM `players` WHERE `id` = " .. getPlayerGUID(cid) .. ";"):getDataInt("level")
but it doesnt work but if it would work it would show Level of player cid :S but i want to show player who have the best level
3. The same as point 2 but i want to get information about concrete proffesion, for example i look on the door and i see the best knight on the server
Last edited: