Elijah23 Posted June 5, 2012 Group: Members Topic Count: 46 Topics Per Day: 0.01 Content Count: 292 Reputation: 17 Joined: 12/12/11 Last Seen: April 17 Share Posted June 5, 2012 Is it possible to reset all the Character Variables into 0 even for characters who are offline? Like Kill variable of each player, and I want to reset everyone's kill variable.. Thanks.. Quote Link to comment Share on other sites More sharing options...
Euphy Posted June 6, 2012 Group: Members Topic Count: 72 Topics Per Day: 0.02 Content Count: 2997 Reputation: 1132 Joined: 05/27/12 Last Seen: June 1, 2017 Share Posted June 6, 2012 Yeah, you'd have to do it using an SQL query. Update all values to zero or "" where `char` (or similar) == character ID. Quote Link to comment Share on other sites More sharing options...
Elijah23 Posted June 6, 2012 Group: Members Topic Count: 46 Topics Per Day: 0.01 Content Count: 292 Reputation: 17 Joined: 12/12/11 Last Seen: April 17 Author Share Posted June 6, 2012 Ahhh I see... Now I've remembered.. ) UPDATE `global_reg_value` SET `value`='"+0+"' WHERE `str` ='"+Kill+"'"; Thanks... Quote Link to comment Share on other sites More sharing options...
Question
Elijah23
Is it possible to reset all the Character Variables into 0 even for characters who are offline?
Like Kill variable of each player, and I want to reset everyone's kill variable..
Thanks..
Link to comment
Share on other sites
2 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.