• There is NO official Otland's Discord server and NO official Otland's server list. The Otland's Staff does not manage any Discord server or server list. Moderators or administrator of any Discord server or server lists have NO connection to the Otland's Staff. Do not get scammed!

Lua Error Runes

Zool

Banned User
Joined
Jun 9, 2009
Messages
742
Reaction score
5
Location
Poland/St Wola
Code:
-- Script by Magic
function onUse(cid, item, frompos, item2, topos)
local idruny = 2294
local dnipacc = 7 -- Ile dni pacca
if item.itemid == idruny then
local playerpos = getCreaturePosition(cid)
doPlayerRemoveItem(cid,idruny,1)
doPlayerAddPremiumDays(cid, dnipacc)
doSendMagicEffect(playerpos, 12)
doPlayerSendTextMessage(cid,22,"Your Account have +7 day of premmium account.") -- Co bedzie napisane.
end
end

Rune in bp = remove on use
Rune on floor = not remove on use :/

Id 2294 and 2307

Rep ++
 
Lua:
-- Script by Magic, edited by Sonical
function onUse(cid, item, frompos, item2, topos)
local idruny = 2294
local dnipacc = 7 -- Ile dni pacca
if item.itemid == idruny then
local playerpos = getCreaturePosition(cid)
doRemoveItem(item.uid, 1)
doPlayerAddPremiumDays(cid, dnipacc)
doSendMagicEffect(playerpos, 12)
doPlayerSendTextMessage(cid,22,"Your Account have +7 day of premmium account.") -- Co bedzie napisane.
end
return TRUE
end
or
Lua:
-- Script by Magic, edited by Sonical
function onUse(cid, item, frompos, item2, topos)
local idruny = 2294
local dnipacc = 7 -- Ile dni pacca
if item.itemid == idruny then
local playerpos = getCreaturePosition(cid)
doRemoveItem(item.uid, 1)
doPlayerAddPremiumDays(cid, dnipacc)
doSendMagicEffect(playerpos, 12)
doPlayerSendTextMessage(cid,22,"Your Account have +7 day of premmium account.") -- Co bedzie napisane.
end
end
 

Similar threads

Back
Top