• This is a read only backup of the old Emudevs forum. If you want to have anything removed, please message me on Discord: KittyKaev

[SOLVED] Disable the spell

Status
Not open for further replies.

Ican

Enthusiast
Hi guys, i am trying to disable some spells via Eluna but, seems its not working like on Arc. Can anybody help me?
Code:
function priestDisables(event, player, spell, skipCheck)
	if(spell == 2096 or spell == 10909 or spell == 605)then
               return false
	end
end

local eventID = 5
RegisterServerHook(eventID, priestDisables)
 

Tommy

Founder
Hi guys, i am trying to disable some spells via Eluna but, seems its not working like on Arc. Can anybody help me?
Code:
function priestDisables(event, player, spell, skipCheck)
    if(spell == 2096 or spell == 10909 or spell == 605)then
               return false
    end
end

local eventID = 5
RegisterServerHook(eventID, priestDisables)

You could use the database table `disables` instead of making a script. :p
 
Status
Not open for further replies.
Top