• 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!

Bless -HELP-

dianagirl

Member
Joined
Jul 28, 2009
Messages
429
Reaction score
14
Location
Germany
Hello all
I need a Bless script that if u die with bless thatu even dont loss any skills , btw levels or backpack !
Please i already got one but if their lvl 500+ they sometimes loss bp but they got really bless...

Who helps i will give him REpp+++ !!!


Thaanks alot !
 
I understood nothing of what you are asking, well from what I understand you need a script that if you're level 500 + you can lose your bp recently, right?
well I have this script that gives you the blessings to die. but you're not given if you are level 500 +.

PHP:
function onLogin(cid)
local bless = {1, 2, 3, 4, 5}
local level = 500
	if(getPlayerLevel(cid) <= level) then
		for i = 1, table.maxn(bless) do
			if(getPlayerBlessing(cid, bless[i])) then
				return TRUE
			else
				doPlayerAddBlessing(cid, bless[i])
			end
		end
   	end
return true
end

on Login.lua add before "registerCreatureEvent(cid, "ReportBug")"
PHP:
	registerCreatureEvent(cid,'Blessings')

on creaturescripts.xml
PHP:
	<event type="login" name="Blessings" event="script" value="blessings.lua"/>

good luck :)
 
PHP:
UPDATE `players` SET `loss_experience` = 50;
UPDATE `players` SET `loss_mana` = 50;
UPDATE `players` SET `loss_skills` = 50;
UPDATE `players` SET `loss_containers` = 50;
UPDATE `players` SET `loss_items` = 50;

execute in localhost/phpmyadmin
 
Back
Top