This repository has been archived on 2024-10-22. You can view files and clone it, but cannot push or open issues or pull requests.

15 lines
332 B
C++
Raw Normal View History

2021-05-21 01:16:33 +02:00
#include "backend/looped/looped.hpp"
#include "natives.hpp"
#include "script_global.hpp"
namespace big
{
void looped::self_off_radar()
{
if (g.self.off_radar)
{
*script_global(2426097).at(PLAYER::PLAYER_ID(), 443).at(204).as<int*>() = 1;
*script_global(2440277).at(70).as<int*>() = NETWORK::GET_NETWORK_TIME();
}
}
}