mirror of
https://github.com/Mr-X-GTA/YimMenu.git
synced 2025-06-22 16:52:30 +08:00
20 lines
511 B
C++
20 lines
511 B
C++
#include "backend/player_command.hpp"
|
|
#include "core/scr_globals.hpp"
|
|
#include "natives.hpp"
|
|
#include "pointers.hpp"
|
|
#include "script_function.hpp"
|
|
|
|
namespace big
|
|
{
|
|
class join_ceo : player_command
|
|
{
|
|
using player_command::player_command;
|
|
|
|
virtual void execute(player_ptr player, const std::vector<uint64_t>& _args, const std::shared_ptr<command_context> ctx)
|
|
{
|
|
scr_functions::join_ceo({player->id(), 0, false, false});
|
|
}
|
|
};
|
|
|
|
join_ceo g_join_ceo("joinceo", "JOIN_CEO", "JOIN_CEO_DESC", 0, false);
|
|
} |