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/self/unlimited_oxygen.cpp

20 lines
482 B
C++
Raw Normal View History

#include "natives.hpp"
#include "backend/looped_command.hpp"
#include <ped/CPedIntelligence.hpp>
namespace big
{
class unlimited_oxygen : looped_command
{
using looped_command::looped_command;
virtual void on_tick() override
{
//if (g_local_player)
// g_local_player->m_ped_intelligence->m_oxygen_time = 0;
}
};
unlimited_oxygen g_unlimited_oxygen("infoxy", "Unlimited Oxygen", "Allows you to stay underwater without losing oxygen", g.self.unlimited_oxygen);
}