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.
YimMenu/src/backend/looped/vehicle/despawn_bypass.cpp

11 lines
266 B
C++
Raw Normal View History

2021-12-15 20:15:21 +01:00
#include "backend/looped/looped.hpp"
#include "script_global.hpp"
namespace big
{
// allows for spawning unreleased vehicles in online and online vehicles in single player
void looped::vehicle_despawn_bypass()
{
2022-07-27 14:39:22 +02:00
*script_global(4539659).as<bool*>() = true;
2021-12-15 20:15:21 +01:00
}
}