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

Monster and broadcast

Raggaer

Godly Member
Joined
Jul 25, 2012
Messages
1,557
Solutions
8
Reaction score
957
Location
Spain
Hello, I wish someone could say me how to make a monster that has a looktype like a normal door ( a object ) and how to when you kill that monster a broadcast message will appear, also a monster that just attacks x voc.

Thanks!
 
Last edited:
Im using this code but is not working

Code:
function onCombat(cid, target)
	if(isPlayer(target) and isMonster(cid)) then
		if(getPlayerFaction(target) == 1) then
			return false
		end
	end
	return true
end

:for monster dont attack players with faction = 1
 
Last edited:
Back
Top