• 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!
  • 2026 staff recruitment is open! Check it out and consider applying!

change outfit script

Cooorooo

New Member
Joined
Mar 30, 2013
Messages
4
Reaction score
0
hello. im looking for the script who change outfit and add fast speed when you type 'speed up'
i have tfs. thanks
 
do a talk action or spell script with the conditions: OUTFIT and HASTE
NOTE: this isnt the exact code... you can easily change it around
Code:
local haste = createConditionObject(CONDITION_HASTE)
setConditionParam(haste, CONDITION_PARAM_TICKS, 120000)

local outfit = createConditionObject(CONDITION_OUTFIT)
setConditionParam(outfit, CONDITION_PARAM_TICKS, 120000)


onCastSpell(cid, var)
doAddCondition(cid, haste)
doAddCondition(cid, outfit)
return true
end
 
Here you go:
Code:
function onCastSpell(cid, var)
local duration = 120 -- Length in seconds
local looktype = {"Rat"} -- Monster to turn into
local speed = 50 -- Change value to whatever
doSetMonsterOutfit(cid,looktype,duration*1000)
doChangeSpeed(cid, speed)
addEvent(doChangeSpeed(cid, -speed), duration, cid)
return true
end
 
i want script who changes outfit from
example
id 10>id 12
id 13>id 14
id 15>id 16
your script changes all in one outfit
in one script wants ten such changes outfits
you can use this spell once every five minutes
and every second/third step takes 1% of life, you can do it? please.
 
Last edited:
Back
Top