diff --git a/Addons/Commands/kill.lua b/Addons/Commands/kill.lua index 6d68f03b..08b190a3 100644 --- a/Addons/Commands/kill.lua +++ b/Addons/Commands/kill.lua @@ -8,7 +8,7 @@ Discord: https://discord.gg/r6dC2uK ]] --Please Only Edit Below This Line----------------------------------------------------------- -commands.add_command('kill', 'Kills a player, must be either yourself (/kill self) or a person of a lower rank.', {'player'}, function(event,args) +commands.add_command('kill', 'Kills a player. Must be either yourself (/kill self) or a person of a lower rank.', {'player'}, function(event,args) local _player = Game.get_player(event) local player = Game.get_player(args.player) if args.player ~= 'self' and not player then player_return({'commands.invalid-player',args.player}) return commands.error end @@ -18,4 +18,4 @@ commands.add_command('kill', 'Kills a player, must be either yourself (/kill sel if player.connected then else player_return({'commands.offline-player'}) return commands.error end if player.character then player.character.die() else player_return({'commands.dead-player'}) return commands.error end else player_return({'commands.unauthorized'}) return commands.error end -end) \ No newline at end of file +end)