21 lines
577 B
C++
21 lines
577 B
C++
![]() |
#include "backend/player_command.hpp"
|
||
|
#include "natives.hpp"
|
||
|
#include "pointers.hpp"
|
||
|
#include "util/ped.hpp"
|
||
|
|
||
|
namespace big
|
||
|
{
|
||
|
class steal_identity : player_command
|
||
|
{
|
||
|
using player_command::player_command;
|
||
|
|
||
|
virtual void execute(player_ptr player, const std::vector<std::uint64_t>& _args, const std::shared_ptr<command_context> ctx)
|
||
|
{
|
||
|
ped::steal_identity(
|
||
|
PLAYER::GET_PLAYER_PED_SCRIPT_INDEX(player->id())
|
||
|
);
|
||
|
}
|
||
|
};
|
||
|
|
||
|
steal_identity g_steal_identity("copymodel", "Steal Identity", "Copies the player's model to your ped", 0, false); // do we really need this?
|
||
|
}
|