local monster = demon, -- monster name
local pos = {100, 100, 7} -- monster spawn pos
function onUse(cid, item, fromPosition, itemEx, toPosition)
for STORAGE_VALUE = 847276 do
if isCreature(cid) then
if getCreatureStorageValue(cid, STORAGE_VALUE) false then
return doCreateMonster(monster, pos) and doCreatureSetStorageValue(cid, STORAGE_VALUE)
end
end
HAHAHHAHA
-.-
LUA:local monster = demon, -- monster name local pos = {100, 100, 7} -- monster spawn pos function onUse(cid, item, fromPosition, itemEx, toPosition) for STORAGE_VALUE = 847276 do if isCreature(cid) then if getCreatureStorageValue(cid, STORAGE_VALUE) false then return doCreateMonster(monster, pos) and doCreatureSetStorageValue(cid, STORAGE_VALUE) end end
tell us more then omfg?