Geekbuddys
Member
- Joined
- Mar 15, 2014
- Messages
- 164
- Reaction score
- 19
Got problem to make the buttons work for OT Client. Anyone has an fix for that?
That won't fix the problem. In the original script I had to teleport the player to the temple and then teleport back to where the player died, so the monsters lose the target.
local player = Player(cid)
When you enter any player happens in the image below error.
My version is 1.2....
But, don't open the "DeathModal" and don't cure..
I need include "local Player = Player(cid)", in start the modaldeath.lua or in function Login?
Good evening, I found some details that might have changes ..
For example I died surrounded by dragon and pressed in wait I could not ctrl + g or ctrl + q and log back in and come back when I wanted to, or move the doll, so I had to wait for 30min.
It would be nice if the player could choose to get back or not ..
local aor = {id = 2674, count = 1}
function onPrepareDeath(creature, killer) --apple of rejuvenation/revive system
if creature:getItemCount(aor.id) == 0 then return true end
creature:addHealth(creature:getMaxHealth())
creature:removeItem(aor.id, aor.count)
creature:sendTextMessage(MESSAGE_EVENT_ADVANCE, "Apple of Rejuvenation")
return false
end