0414
Jump to navigation
Jump to search
Description
- Enables a free treatment for the player
Syntax
- 0414: set_player [player handle] single_free_treatment [int]
Parameter
- [player handle]
- [int]
- 0 = disable free treatment, 1 = enable free treatment
Native analog
This opcode sets a free treatment for the player. When enabled, if the player is wasted, he will not lose any weapons or cash after respawning. The free treatment works once only, so to allow free treatment again, you have to enable it through this opcode again. This opcode was unused in GTA III in the default script.
The value set with this opcode is saved in block 16 of the save file in GTA III, block 18 in Vice City and in block 15 in San Andreas.
Keywords
set, toggle, player, free, treatment, hospital, wasted