• 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!

blinking tps

Maten

New Member
Joined
Mar 16, 2009
Messages
219
Reaction score
2
can anyone send me the script for blinking tps?

and i allso need uh script heal should be 1000 to 1900
 
unsure what you mean by blinking tps, but here's a UH for ya:

LUA:
local combat = createCombatObject()
setCombatParam(combat, COMBAT_PARAM_EFFECT, CONST_ME_MAGIC_BLUE)
setCombatParam(combat, COMBAT_PARAM_AGGRESSIVE, false)
setCombatParam(combat, COMBAT_PARAM_TARGETCASTERORTOPMOST, true)
setCombatParam(combat, COMBAT_PARAM_DISPEL, CONDITION_PARALYZE)

function onCastSpell(cid, var)
	if doCombat(cid, combat, var) then
		doCreatureAddHealth(variantToNumber(var), math.random(1000, 1900))
	end
end
 
unsure what you mean by blinking tps, but here's a UH for ya:

LUA:
local combat = createCombatObject()
setCombatParam(combat, COMBAT_PARAM_EFFECT, CONST_ME_MAGIC_BLUE)
setCombatParam(combat, COMBAT_PARAM_AGGRESSIVE, false)
setCombatParam(combat, COMBAT_PARAM_TARGETCASTERORTOPMOST, true)
setCombatParam(combat, COMBAT_PARAM_DISPEL, CONDITION_PARALYZE)

function onCastSpell(cid, var)
	if doCombat(cid, combat, var) then
		doCreatureAddHealth(variantToNumber(var), math.random(1000, 1900))
	end
end


Thank you so much mate it works great :D
 
Oh, just animated text?

Here:
LUA:
local function talk()
	local monstersPos = {x = 996, y = 993, z = 7, stackpos = 2}
	doSendAnimatedText(monstersPos, "Monsters", 180)
	
	return true
end

function onThink(cid, interval)
	talk()
	return true
end

Just add more positions / words as you see fit :p

P.s. It's a globalevent
 
Last edited by a moderator:
Back
Top