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

check monster name to attacker

Lokokota

New Member
Joined
May 19, 2010
Messages
3
Reaction score
0
function onStatsChange(cid, attacker, type, combat, value)
i need to checker if attacker is monster and if he is Orshabaal
then do to the functions
...
...
...

thx all!
 
LUA:
local t = {
	monstername = 'PENISMONSTER'
	}

function onStatsChange(cid, attacker, type, combat, value)
	if getCreatureName(attacker):lower() == t.Monstername:lower() then
		..
	end
	return true
end
 
Back
Top