Site Overlay

Dev-c Rdr2 Access

#include "script.h" #include "natives.h" void main() while (true) if (IsKeyPressed(VK_F5)) PLAYER::SET_PLAYER_INVINCIBLE(PLAYER::PLAYER_ID(), true);

WAIT(0);

| Requirement | Tool | |-------------|------| | IDE | (Community free) | | Modding framework | ScriptHookRDR2 | | Native function database | RDR2 NativeDB | | Example project | ScriptHookRDR2 SDK + sample mod | Dev-c Rdr2

Basic code snippet (in VS, not Dev-C++): #include "script