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

"DoSendAnimatedText" Remove cast words?

Serp

/* No comment */
Joined
Mar 23, 2008
Messages
249
Reaction score
1
Here what im using right now.

PHP:
function onCastSpell(cid, var)
	doSendAnimatedText(getPlayerPosition(cid), "Light", 210)
	local pos = getPlayerPosition(cid)
	doSendMagicEffect(pos, CONST_ME_MAGIC_BLUE)
	return doSetCreatureLight(cid, 10, 120, 30000)
end

I say "utevo lux" and it makes the word "light" appear in yellow
But the words "utevo lux" still appear behind it.

Problem:
How can i stop the words utevo lux from appearing when casting the spell?

[Sorry if this is the wrong section and meant to go in C++/Lua or something i was un-sure] ~ [Edit] Mod moved the thread.

Any help is apprecaited
 
Last edited:
It's also called LUA_ERROR (a variable) and 0 is LUA_NO_ERROR xD

In talkactions it's LUA_NO_ERROR that does the same effect (just to inform ya)
 
Back
Top