diff options
| author | NotRexed <therealnothingfn@gmail.com> | 2026-11-30 01:14:53 -0500 |
|---|---|---|
| committer | NotRexed <therealnothingfn@gmail.com> | 2026-11-30 01:14:53 -0500 |
| commit | bbd45f5cc1929ec01817863680535c182da1e9c8 (patch) | |
| tree | 0ece2c7f42bcbab7b4daadcf0664d7355e165a4e /runtime/src/main.cpp | |
| parent | 24ccd36c2ea96350f39a5bfc51aa4b7051290982 (diff) | |
Game actions: teleports by the title's own teleport (SET_ENTITY_COORDS), and a wanted clear the HUD sees
- Request::Teleport ( eleport <x> <y> <z>): SET_ENTITY_COORDS on PLAYER_PED_ID's reference, the place as four
packed floats in two slots, the three axis flags off and the area cleared, the last float 0 (nine slots, as the
native database has the native take). warp(), which the menu's Teleport page and leonida.teleport call, asks
for it whenever both natives were found, in place of the experiment that writes the ped's position
(LEONIDA_GAME_ACTIONS_WARP=1, still there without the natives).
- Request::Wanted(0) also calls CLEAR_PLAYER_WANTED_LEVEL on the player's reference: run d179 had the HUD keep
two red stars after the title's own function cleared the level.
Hashes from modpapi/scripthook-vi's native database (CC BY 4.0). Tests: the game_actions tests pass (teleport
read in script_commands_read). Not yet seen in the running title.
AI-assisted (Claude).
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Diffstat (limited to 'runtime/src/main.cpp')
0 files changed, 0 insertions, 0 deletions