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

Spell addEvent Cancel Spell in PzTile

supermortaliz

Member
Joined
Jan 26, 2014
Messages
76
Solutions
6
Reaction score
12
Example
function makankosappo(cid)
doPlayerSay(cid, 'Makanko!', TALKTYPE_ORANGE_1)
addEvent(sap,1500,cid)
end

function super(cid)

doPlayerSay(cid, 'Super!', TALKTYPE_ORANGE_1)
addEvent(makankosappo,1500,cid)
end



function onCastSpell(cid, var)
if getTilePzInfo(pos) == true then
addEvent(super,0,cid)
end
return doPlayerSendCancel(cid, "This action, isnt allowed in a PZ.")
end


Help Please Give +Rep
 
Back
Top