Autor: Rabbcio
Skrypt:
[LUA]function onUse(cid, item, frompos, item2, topos)
random = math.random(1,6)
if item.itemid == 4845 then
doPlayerSay(cid,"Uwaga! Rzucam kostka...",1)
doPlayerSay(cid,"Wlasnie wylosowalem ("..random..")",16)
doSendMagicEffect(topos,17)
end
return 1
end[/LUA]
Skrypt:
[LUA]function onUse(cid, item, frompos, item2, topos)
random = math.random(1,6)
if item.itemid == 4845 then
doPlayerSay(cid,"Uwaga! Rzucam kostka...",1)
doPlayerSay(cid,"Wlasnie wylosowalem ("..random..")",16)
doSendMagicEffect(topos,17)
end
return 1
end[/LUA]