GrubeJointy2
nIe Ma PrObLeMu
Witam, skrypt działa idealnie czyli zero błedu w konsoli ale gdy wykonam reload to następuję crash. Crashuje na pewno ten skrypt może będzie ktoś wiedział dla czego
local trainery = {x=431, y=1367, z=5}
function onStepIn(cid, item, item2, fromPos, toPos, pos)
if (item.actionid == 998) then
doTeleportThing(cid, trainery)
setPlayerStorageValue(cid, 998, 1)
doPlayerSendTextMessage(cid, 19, "Lece z enigma")
doSendMagicEffect(getPlayerPosition(cid), 14)
else
if (item.actionid == 999) then
doTeleportThing(cid, trainery)
setPlayerStorageValue(cid, 999, 1)
doPlayerSendTextMessage(cid, 19, "Lece z thais")
doSendMagicEffect(getPlayerPosition(cid), 14)
end
end
return true
end
local trainery = {x=431, y=1367, z=5}
function onStepIn(cid, item, item2, fromPos, toPos, pos)
if (item.actionid == 998) then
doTeleportThing(cid, trainery)
setPlayerStorageValue(cid, 998, 1)
doPlayerSendTextMessage(cid, 19, "Lece z enigma")
doSendMagicEffect(getPlayerPosition(cid), 14)
else
if (item.actionid == 999) then
doTeleportThing(cid, trainery)
setPlayerStorageValue(cid, 999, 1)
doPlayerSendTextMessage(cid, 19, "Lece z thais")
doSendMagicEffect(getPlayerPosition(cid), 14)
end
end
return true
end