- Dołączył
- Maj 12, 2012
- Posty
- 59
- Liczba reakcji
- 0
Cze, Tak jak w temacie szukam skryptu kt?ry dzia?a gdy si? kliknie praw? myszk? na t? ksi??k?.
Z g?ry dzi?ki
Z g?ry dzi?ki
Follow along with the video below to see how to install our site as a web app on your home screen.
Notka: This feature may not be available in some browsers.
BullshitJe?li dana ksi??ka po klikni?ciu wy?wietla okno z tekstem to prawdopodobnie nie zadzia?a. Musisz to usun??. A funkcja ucz?c? ju? prostsza by? nie mo?e.

<action itemid="?" event="script" value="skrypcik.lua"/>
function onUse(cid, item, fromPosition, itemEx, toPosition)
doPlayerLearnInstantSpell(cid, name) -- example: doPlayerLearnInstantSpell(cid, "Death Strike")
return false
end
<action itemid="?" event="script" value="skrypcik.lua"/>
function onUse(cid, item, fromPosition, itemEx, toPosition)
local spellname = "Light Healing"
if(getPlayerLearnedInstantSpell(cid, spellname))
doPlayerSendTextMessage(cid, 18, "You already learned that spell.")
else
doPlayerLearnInstantSpell(cid, spellname)
doPlayerSendTextMessage(cid, 18, "You learned new spell ("..getInstantSpellInfo(cid, spellname).words..").")
doRemoveItem(item.uid)
end
return true
end
local spellname = "Light Healing"