Hello guys, I have a script that checks who has most pvp in one day,it checks it by checking database and at the end of the day I want to set a player,who has most pvps, to hero.I don't know how to get character instance,so I can't do player.setHero(true).I can change database table "heroes",but I am not sure what columns like played,active,message mean. I can get any info from database,but I am not sure how to set the player with most pvp to Hero(changing hero to 1 in characters table doesn't work). So I either need a way to make a player a hero using database or better thing would be to get Character instance so I can use Player.setHero(true);
You can post now and register later.
If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.
Don't you realize that every time you attack me, the only ones who lose are you? hahaha
I guess someday you're going to educate yourself and know who's in charge.
gg ultra.
Question
StealthyS4m
Hello guys,
I have a script that checks who has most pvp in one day,it checks it by checking database and at the end of the day I want to set a player,who has most pvps, to hero.I don't know how to get character instance,so I can't do player.setHero(true).I can change database table "heroes",but I am not sure what columns like played,active,message mean.
I can get any info from database,but I am not sure how to set the player with most pvp to Hero(changing hero to 1 in characters table doesn't work).
So I either need a way to make a player a hero using database or better thing would be to get Character instance so I can use Player.setHero(true);
5 answers to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.