• 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!
  • 2026 staff recruitment is open! Check it out and consider applying!

One spell unlocking next spell.

Revou

New Member
Joined
Dec 11, 2010
Messages
22
Reaction score
0
Hello guys i need function to spell. So, when i cast one spell i get sotorage needed to cast next spell. The storage is for like 5 secs. Is there anyway to do something like this?
 
Code:
function unLearn()
    doPlayerUnlearnInstandSpell(cid, "light healing")
end

function onSay(cid, words, param, channel)
    if words == "utevo lux" then
        doPlayerLearnInstantSpell(cid, "light healing")
        addEvent(unLearn, 5000, cid)
    end
end
something like that I think
 
@Slaktern
This scritp crush server without errors in console. Maybe i done something wrong or there is something to fix. I'am uber nub in scripting i can only remake them some. Anyone can try help me?

Thanks for replys anyway!
 
Back
Top