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

example script please

tim26

Member
Joined
Aug 12, 2008
Messages
618
Reaction score
11
Location
Poland
Hello i want please example script when you use vial of blood on some item then dosendmagiceffect and set storage

please i need it
 
PHP:
if item.type == 2 and itemEx.itemid == someid then
  setPlayerStorageValue(cid,1000,1)
  doSendMagicEffect(getPlayerPosition(cid),13)
end

There you got your storage value and your magic effect, too. And if you instead want the magic to be on the thing you use, swap that line with this:
doSendMagicEffect(toPosition,13)
 
Back
Top