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

[CreatureScripts] PWNED text [On Death]

cesar10

Active Member
Joined
Aug 4, 2009
Messages
428
Reaction score
37
Hell All Well i'm Searching For a Script That Sends a awesome text when a player kills you
ive seen it before but i cant find anyone can help me search? i even used google xDD

and second one S; this one i havent seen before when someone kills a player it sends a magiceffect on him and a text 2

anyone help me please? i add rep
 
LUA:
function onKill(cid, target, lastHit)
	if lastHit and isPlayer(target) then
		local p = getThingPos(target)
		doSendMagicEffect(p, CONST_ME_MORTAREA)
		doSendAnimatedText(p, 'PWNED', COLOR_RED)
	end
	return true
end
 
@up
Thanks for adding reputation to this user. May you be lucky enough to receive the same Reputation back in turn.

:D! thx can you make the other one?
 
Like this?
LUA:
function onKill(cid, target, lastHit)
if isPlayer(cid) then -- I think this isnt neccessary since you register cid at login.lua --
   if isPlayer(target) then
      doSendMagicEffect(getPlayerPosition(cid), effect)
      doPlayerSendTextMessage(cid, MESSAGE_INFO_DESCR, "Message")
   end
end
return true
end

Or instead as an animated text?
LUA:
function onKill(cid, target, lastHit)
if isPlayer(cid) then -- I think this isnt neccessary since you register cid at login.lua --
   if isPlayer(target) then
      doSendMagicEffect(getPlayerPosition(cid), effect)
      doSendAnimatedText(getPlayerPosition(cid), 'Message', 180)
   end
end
return true
end
 
Back
Top