2021-05-21 01:16:33 +02:00
|
|
|
#include "backend/looped/looped.hpp"
|
2021-08-17 16:56:41 +02:00
|
|
|
#include "pointers.hpp"
|
2021-05-21 01:16:33 +02:00
|
|
|
#include "natives.hpp"
|
|
|
|
#include "script_global.hpp"
|
|
|
|
|
|
|
|
namespace big
|
|
|
|
{
|
|
|
|
void looped::self_off_radar()
|
|
|
|
{
|
|
|
|
if (g.self.off_radar)
|
|
|
|
{
|
2021-08-17 16:56:41 +02:00
|
|
|
/*Player playerId = PLAYER::PLAYER_ID();
|
|
|
|
|
|
|
|
int off_radar[] = {
|
|
|
|
(int)RemoteEvent::RemoteOffradar,
|
|
|
|
playerId,
|
|
|
|
NETWORK::GET_NETWORK_TIME(),
|
|
|
|
0,
|
|
|
|
0,
|
|
|
|
0,
|
|
|
|
*script_global(1630816).at(playerId, 597).at(508).as<int*>()
|
|
|
|
};
|
|
|
|
|
|
|
|
g_pointers->m_trigger_script_event(1, off_radar, 7, 1 << playerId);*/
|
|
|
|
//SCRIPT::TRIGGER_SCRIPT_EVENT(1, off_radar, 7, 1 << playerId);
|
|
|
|
|
2021-07-23 10:12:40 +02:00
|
|
|
*script_global(2426865).at(PLAYER::PLAYER_ID(), 449).at(209).as<bool*>() = true;
|
|
|
|
*script_global(2441237).at(70).as<int*>() = NETWORK::GET_NETWORK_TIME() + 1;
|
2021-05-21 01:16:33 +02:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|