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

Solved Animation on potions

murilow1

Member
Joined
Dec 2, 2011
Messages
37
Reaction score
9
Code:
	if(isInArray({7618, 7588, 7591, 8473}, item.itemid)) and isPlayer(itemEx.uid) then
	   doSendMagicEffect(getThingPosition(itemEx.uid), 77)
	else
	   doSendMagicEffect(getThingPosition(itemEx.uid), 78)
        end

this is my code, when u use potions u get animations...
How i do to not send animation when i splash potions? cuz its keep sending effect on the location of the splash..


sry 4 the bad english.
 
You can explain better? i can't understand you.
its send effect for life potion and another effect for mana potion, so, when u splash the potion on the ground, its keep sending effect, i wont it...

Delete whole line ? Lol
i already tested and its send both animation for mana potion and life potion...

- - - Updated - - -

nvm, fixed, just removed the 'else' on code, it was sending effect for every action, so obvious...
 
Back
Top