What's new

-Skrypt Skrypt na Efekty po wbici lvl lub jakiego? skilla

Status
Not open for further replies.

zygus00

Advanced User
Joined
May 19, 2013
Messages
241
Reaction score
14
Poszukuje "Skrypt na Efekty po wbici lvl lub jakiego? skilla"

Chodzi o efekt i napis na pomara?czowo a nie na bia?o!
 

mial123

Advanced User
Joined
Apr 2, 2009
Messages
307
Reaction score
24
Odp: Skrypt na Efekty po wbici lvl lub jakiego? skilla

nie polecam, strasznie muli silnik od tego, przy wi?kszej ilo?ci graczy. Przyk?adowy skrypt
Creaturescripts:
[LUA]function onAdvance(cid, skill, oldlevel, newlevel)
local pos = getCreaturePosition(cid)
if skill == SKILL__LEVEL then
doSendAnimatedText(pos, "Level Up!", 150)
doSendMagicEffect(pos, 28)
end
return true
end[/LUA]
PHP:
<event type="advance" name="przyklad" event="script" value="przyklad.lua"/>
login.lua
PHP:
	registerCreatureEvent(cid, "przyklad")
 
Last edited:

zygus00

Advanced User
Joined
May 19, 2013
Messages
241
Reaction score
14
Odp: Skrypt na Efekty po wbici lvl lub jakiego? skilla

Thx!
 
Status
Not open for further replies.
Top