Mateus Robeerto
Excellent OT User
For example, if the player killed the player , a message will be displayed to all players, revealing those involved. For example: 'PvP: So-and-so eliminated So-and-so2 (xxx points)'. Also, does anyone know how to add functionality to take actions when points are awarded to a player, resulting in enough score for some sort of functionality? For example, when a kill occurs and the player earns points, does anyone know how to add this functionality to the system?
Lua:
if killer:isPlayer() then
Game.broadcastMessage(player:getName().."["..player:getLevel().."] Pvp: killed "..killer:getName().."["..killer:getLevel().."].", MESSAGE_STATUS_DEFAULT)
end
Last edited: