• 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 [TFS 1.0] Convert this script

newlegacy

New Member
Joined
Dec 15, 2012
Messages
44
Reaction score
0
Location
Dominican Republic
How i can convert this script for tfs 1.0?

Code:
local ataud1_uid = 50135
local ataud1_id = 7522
local ataud2_uid = 50136
local ataud2_id = 7523
local cacotas = {
limit = 180
}
local seg = 180
function onStepIn(cid, item, frompos, item2, topos)
if isPlayer(cid) and os.time(t) > getPlayerStorageValue(cid, 30022) then    
doTransformItem (ataud1_uid, ataud1_id)
doTransformItem (ataud2_uid, ataud2_id)
doSendMagicEffect ({x=32214, y=32204, z=7}, (3))
doSendMagicEffect ({x=32215, y=32204, z=7}, (3))
doCreateMonster ("vampire", {x=32215, y=32204, z=7})
doSendAnimatedText ({x=32215, y=32204, z=7}, 'ArGg!!!', (192))
doSendMagicEffect ({x=32215, y=32204, z=7}, (66))
setPlayerStorageValue(cid, 30022, (os.time(t) + cacotas.limit))
addEvent (doSendMagicEffect, 1 * 1000, {x=32214, y=32205, z=7}, (66))
addEvent (doSendMagicEffect, 2 * 1000, {x=32213, y=32206, z=7}, (66))
addEvent (doSendMagicEffect, 3 * 1000, {x=32212, y=32206, z=7}, (66))

addEvent (doSendMagicEffect, 2 * 1000, {x=32214, y=32205, z=7}, (66))
addEvent (doSendMagicEffect, 3 * 1000, {x=32213, y=32206, z=7}, (66))
addEvent (doSendMagicEffect, 4 * 1000, {x=32212, y=32206, z=7}, (66))

addEvent (doTransformItem, seg * 1000, ataud1_uid, 1744)
addEvent (doTransformItem, seg * 1000, ataud2_uid, 1745)
addEvent (doSendMagicEffect, seg * 1000, {x=32214, y=32204, z=7}, (3))
addEvent (doSendMagicEffect, seg * 1000, {x=32215, y=32204, z=7}, (3))
end
return TRUE
end

I need your help please.
 
Back
Top