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

[Support] onCombat

Aarthec

w0000t
Joined
Apr 25, 2009
Messages
129
Reaction score
0
Location
Sweden
How can I make a monster not attack a player?
This doesn't work:
Lua:
function onCombat(cid, target)
	if isMonster(cid) == TRUE and isPlayer(target) == TRUE then
		return FALSE
	end
return TRUE
end
 
Last edited:
Back
Top