What's new

Exh. i animated text

Status
Not open for further replies.

BuRcZyK

Senior User
Joined
Sep 2, 2010
Messages
834
Reaction score
35
Siemka, mam problem do poni?szego skryptu jak doda? exh. bo napisa?em skrypta i potrzebne exh. na 2sec.
PHP:
function onUse(cid, item, frompos, itemEx, topos)

doPlayerRemoveItem(cid, 2670, 1)
doCreatureAddHealth(cid, getCreatureMaxHealth(cid)-getCreatureHealth(cid))
doCreatureAddMana(cid, getPlayerMaxMana(cid)-getPlayerMana(cid))
doSendAnimatedText(getThingPos(cid), getPlayerMaxMana(cid) , 106)
doCreatureSay(cid, "Power Is Back!..!", TALKTYPE_ORANGE_1)

end
I ?eby w tej lini
doSendAnimatedText(getThingPos(cid), getPlayerMaxMana(cid) , 106)
przed getplayer max mana by? +(plus)
 
Joined
Jan 6, 2011
Messages
552
Reaction score
65
Odp: Exh. i animated text

exh:
Code:
exhaustion.check(cid, storage) 
exhaustion.set(cid, storage, time)
Code:
doSendAnimatedText(getThingPos(cid), '+ '..getPlayerMaxMana(cid) , 106)
 

BuRcZyK

Senior User
Joined
Sep 2, 2010
Messages
834
Reaction score
35
Odp: Exh. i animated text

Dzieki, temat do zamkni?cia
 
Last edited:
Status
Not open for further replies.
Top