• 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!
  • 2026 staff recruitment is open! Check it out and consider applying!

Solved Red Skull And Black Skull

Xandoko

Active Member
Joined
Jul 11, 2014
Messages
134
Reaction score
2
I wanna Make On My Ot Any One Get Red Skull Or Black Skull No Lose Any items Iam Using TFS 3884
 
Last edited:
Ok go to:
1) localhost/phpmyadmin
2)login
3) Go to your database
4) Go to players
5) Select -> The samples (sorcerer sample, knight sample, druid sample, paladin sample)
6) Then edit this 2 parts set number to 0 (zero)
nunu.png

7) Then clik on Go to save changes, do this with every sample......
8) Then create a new player and you will see changes:)
 
yes if that didn't work I use another script :

1)Go to" yourot/data/creaturescripts/scripts" and make a new file paste the code below and save it as levelprotection.lua
Code:
function onDeath(cid, corpse, deathList)
local config = {
onlypremium = false, -- se precisa ser premium para não perder nada
loot = false, -- se ao morrer o jogador irá perder o loot
level = 10000 -- até que level irá proteger o player
}
if isPlayer(cid) and getPlayerLevel(cid) <= config.level then
if config.onlypremium == true and not isPremium(cid) then return TRUE end
if config.loot == false then doCreatureSetDropLoot(cid, false) end
return TRUE end return TRUE end

2)Then open "yourot/data/creaturescripts/scripts/login.lua" Login.lua file and add :
Code:
registerCreatureEvent(cid, "ProtectLevel")
below:
Code:
registerCreatureEvent(cid, "ReportBug")

3)Then open "yourot/data/creaturescripts/creaturescripts.xml" Creaturescripts.xml and add:
Code:
    <event type="death" name="ProtectLevel" event="script" value="levelprotection.lua"/>
Then save and that's all...
 
Back
Top