Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
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!
i tried it and it really work its mean that i dont see relogin window but i still watch my dead.. i dont get tp to temple you understand? i must do relog and then i am in temple
i tried it and it really work its mean that i dont see relogin window but i still watch my dead.. i dont get tp to temple you understand? i must do relog and then i am in temple
Gothric go on quick links >> Hosted Project Board >> TheForgottenServer << and ask abt this.. This isent a place for this + its better if the "c++" guys help you insted of the LUA guys ^^ xD
i add this and its better but not perfect there is no window and i got tp to temple but i have 0 hp and i cannot move becouse it still tp me to respawn place :s
function onLogin(cid)
for i = getCreatureMaxHealth(cid) do
if getCreatureHealth(cid, i) <= then
doCreatureAddHealth(cid, i)
return doSendMagicEffect(getCreaturePosition(cid), CONST_ME_HOLY_DAMAGE)
else
return 0
end
function onLogin(cid)
for i = getCreatureMaxHealth(cid) do
if getCreatureHealth(cid, i) <= then
doCreatureAddHealth(cid, i)
return doSendMagicEffect(getCreaturePosition(cid), CONST_ME_HOLY_DAMAGE)
else
return 0
end
function onLogin(cid)
for i = getCreatureMaxHealth(cid) do
if getCreatureHealth(cid, i) <= then
doCreatureAddHealth(cid, i)
return doSendMagicEffect(getCreaturePosition(cid), CONST_ME_HOLY_DAMAGE)
else
return 0
end
function onLogin(cid)
if(isPlayer(cid) and getCreatureHealth(cid) < getCreatureMaxHealth(cid)) then
doCreatureAddHealth(cid, getCreatureMaxHealth(cid), true)
end
return true
end
Gothric it's a problem with
doCreatureAddHealth(cid, value,[force])
when using onprepareDeath you get 0 health which you cannot heal out of since your technically 'dead'. The last parameter in doCreatureAddHealth is [force] which I guess is there you put true, so it force add's health.. however it's not doing it, in other words I think its bugged in 0.3.6pl1