Figaro
Banned User
I need script like that! When i kill somebody it shows text "(my name) pwned (victim name)" with some nice effect. If somebody didnt understand, im not requesting frag reward.
function onKill(cid, target)
local name = getCreatureName(cid)
local kill = getCreatureName(target)
if isPlayer(cid) == TRUE and isPlayer(target) == TRUE then
broadcastMessage("".. name .." PWNS ".. kill ..".")
end
end
<event type="death" name="BcDeath" script="bcdeath.lua"/>
registerCreatureEvent(cid, "BcDeath")
<event type="death" name="BcDeath" script="bcdeath.lua"/>
<event type="kill" name="BcDeath" script="bcdeath.lua"/>
function onKill(cid, target)
if isPlayer(cid) == TRUE and isPlayer(target) == TRUE then
local name = getCreatureName(cid)
local kill = getCreatureName(target)
broadcastMessage(name .." PWNS ".. kill ..".")
end
return TRUE
end
local name = getCreatureName(cid)
local kill = getCreatureName(target)
broadcastMessage(name .." PWNS ".. kill ..".")
broadcastMessage(getCreatureName(cid).." [Lv: "..getPlayerLevel(cid).."] PWNS "..getCreatureName(target).." [Lv: "..getPlayerLevel(target).."].")