Plutonium-IW5-Scripts/chat_commands/chat_command_suicide.gsc
Resxt a6ca69944e chat_command_suicide 1.0.1
Added permission level to CreateCommand following chat_commands 1.3.0 update

[Refactor] changed level scoped ports variable following chat_commands 1.3.0 update
2023-03-18 01:42:24 +01:00

15 lines
207 B
Plaintext

#include scripts\chat_commands;
Init()
{
CreateCommand(level.chat_commands["ports"], "suicide", "function", ::SuicideCommand, 1);
}
/* Command section */
SuicideCommand(args)
{
self Suicide();
}