Tuchol
falania.com
Hello guys,
I have a little problem with my code ...when i kill the monster broadcast show
but it will be Player name not name of monster.. i Have tfs 0.4...
This is code
Thanks for help
I have a little problem with my code ...when i kill the monster broadcast show
Code:
19:37 The player Mutated Squirrel killed Mutated Squirrel. Congratulations.
This is code
Code:
function onDeath(cid, corpse ,killer)
local PlayerName = getPlayerName(lastHitKiller)
if getCreatureName(cid) == 'Mutated Squirrel' then
broadcastMessage("The player "..getCreatureName(cid).." killed Mutated Squirrel. Congratulations.")
end
return TRUE
end