Tickit
Member
Yeah when a player dies they spawn in lvl 1? ;o With 0 mana...
--Refresh--
Post your xampp/htdocs/accountmanagement.php (if it's too big, upload it somewhere)
doPlayerSetLossPercent(cid, PLAYERLOSS_EXPERIENCE, loss * 10)
UPDATE players SET loss_experience = 100
- Remove this from your login.lua:
Code:doPlayerSetLossPercent(cid, PLAYERLOSS_EXPERIENCE, loss * 10)
- Shutdown the server
- Execute this query on your database (in phpMyAdmin -> SQL):
PHP:UPDATE players SET loss_experience = 100
- Run the server
- Test it
- ????
- PROFIT