• There is NO official Otland's Discord server and NO official Otland's server list. The Otland's Staff does not manage any Discord server or server list. Moderators or administrator of any Discord server or server lists have NO connection to the Otland's Staff. Do not get scammed!

Solved Dont lose skill!

Status
Not open for further replies.
doPlayerSetLossPercent(cid, PLAYERLOSS_SKILLS, 0)
I added this to config.lua and when i want run server, appearce a window saying Unable load Config.lua
 
1. Your server needs to be shut down, or all your players needs to be offline.
2. Login to phpMyAdmin.
3. Select players.
4. Select SQL(between Structure and Search), you will see a window where you can write.
5. Delete the text from the window( if there is any), mine always has text "SELECT * FROM `players` WHERE 1", delete it.
6. Paste this code
Code:
UPDATE players SET loss_skills = 0, loss_mana=0;
7. Press Go.

If any player is online, the changes will not affect them. It only affects the offline players.

Thanks, it works :)
 
Status
Not open for further replies.
Back
Top