Hey there!
So, I've got an idea to make 'Bounty Hunters Broadcast' script. I've already tried to write smthing, but I failed, I don't get these lua sql queries. That's just simple script, but I think that would be really useful. Script does:
- it gets non-killed bh records (
i think, but I can't get sp_id then...)
- it gets sp_id's and prize from these non-killed characters
- it checks name of sp_id
- it broadcasts smth like this: "nameofplayer, prizeforkill"
- then it broadcast next name, and next
Thanks for help,
Samik
@down
No, no, u do not understand me. I need help with writing this script.
So, I've got an idea to make 'Bounty Hunters Broadcast' script. I've already tried to write smthing, but I failed, I don't get these lua sql queries. That's just simple script, but I think that would be really useful. Script does:
- it gets non-killed bh records (
Code:
db.getResult("SELECT * FROM `bounty_hunters` WHERE `killed` = 0;")
- it gets sp_id's and prize from these non-killed characters
- it checks name of sp_id
- it broadcasts smth like this: "nameofplayer, prizeforkill"
- then it broadcast next name, and next
Thanks for help,
Samik
@down
No, no, u do not understand me. I need help with writing this script.
Last edited: