john290
Banned User
inwob nie ma jednego silnik pod 8.5...
Wiem, ale pisałem jakby u niego to wyglądało ;D
inwob nie ma jednego silnik pod 8.5...
To znajdz inny silnik 8.5 Niz tfs 0.2.4
OLD_LEVELS = {}
mshield = {}
function onLogin(cid)
if getPlayerStorageValue(cid,STORAGEVALUE_NEXT_REGEN_CHECK) == -1 then
setPlayerStorageValue(cid,STORAGEVALUE_NEXT_REGEN_CHECK,0)
end
if getPlayerStorageValue(cid, 1339) == 1 then
setPlayerStorageValue(cid, 1339, 0)
setPlayerStorageValue(cid, 1338, 0)
end
if getPlayerLevel(cid) < 8 then
doPlayerSendTextMessage(cid, 22, "Witaj na Debestii. Jestes teraz na rooku. Kiedy wbijesz 8 level zostaniesz przeniesiony na maina do miasta Kiobios.")
end
if getPlayerStorageValue(cid, 9995) ~= 1 and (getPlayerVocation(cid) == 15 or getPlayerVocation(cid) == 16) then
setPlayerStorageValue(cid, 9995, 1)
doPlayerAddOutfit(cid, 142, 1)
doPlayerAddOutfit(cid, 134, 1)
doPlayerAddOutfit(cid, 142, 2)
doPlayerAddOutfit(cid, 134, 2)
end
if (InitArenaScript ~= 0) then
InitArenaScript = 1
-- make arena rooms free
for i = 42300, 42309 do
setGlobalStorageValue(i, 0)
setGlobalStorageValue(i+100, 0)
end
end
-- if he did not make full arena 1 he must start from zero
if getPlayerStorageValue(cid, 42309) < 1 then
for i = 42300, 42309 do
setPlayerStorageValue(cid, i, 0)
end
end
-- if he did not make full arena 2 he must start from zero
if getPlayerStorageValue(cid, 42319) < 1 then
for i = 42310, 42319 do
setPlayerStorageValue(cid, i, 0)
end
end
-- if he did not make full arena 3 he must start from zero
if getPlayerStorageValue(cid, 42329) < 1 then
for i = 42320, 42329 do
setPlayerStorageValue(cid, i, 0)
end
end
if getPlayerStorageValue(cid, 42355) == -1 then
setPlayerStorageValue(cid, 42355, 0) -- zrobil level areny
end
setPlayerStorageValue(cid, 42350, 0) -- time to kick 0
setPlayerStorageValue(cid, 42352, 0) -- is not in arena
registerCreatureEvent(cid, "PlayerKill")
registerCreatureEvent(cid, "PlayerDeath")
registerCreatureEvent(cid, "PlayerThink")
return TRUE
end
Lua Script Error: [Action Interface]
data/actions/scripts/other/skull remove.lua:onUse
data/actions/scripts/other/skull remove.lua:5: attempt to call global 'doCreatureSetSkullType' (a nil value)
stack traceback:
data/actions/scripts/other/skull remove.lua:5: in function <data/actions/scripts/other/skull remove.lua:1>