Native Trainer is a game modification tool that allows users to create and execute custom scripts for GTA V. It operates in kernel-mode, utilizing undocumented Windows APIs to interact with the game. Native Trainer 1.0.335.2 is one of the most popular versions of the tool.

Limitations:

// Assuming we're hooking into F1 key press if GetAsyncKeyState(0x71) < 0 // 0x71 is VK_F1