Morrison
Intermediate OT User
Hi this script no remove skull to dead and players loss items in red and black skulls
what is the solution?
what is the solution?
PHP:
local skulls = {
SKULL_NONE,
SKULL_YELLOW,
SKULL_GREEN,
SKULL_WHITE,
SKULL_RED,
SKULL_BLACK,
SKULL_BLACK
}
function onLogout(cid)
for i = 1, table.maxn(skulls) do
doPlayerSetSkullEnd(cid, 0, skulls[i])
end
return true
end