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

OnComat

Magictibiaman

New Member
Joined
May 25, 2009
Messages
371
Reaction score
0
does Oncombat(cid,target) work in .3.6 Distros?
cause i can't figure how to activate it right
in my Xml Type = Combat is that right?

If onCombat is out of date are there any substitutes or replacements?
 
Code:
function onCombat(cid, target)
     code
return true
end

PHP:
<event type="combat" name="name" event="script" value="name.lua"/>

login.lua
Code:
registerCreatureEvent(cid, "name")

Yes, it works in 0.3.6
 
Back
Top