Difference between revisions of "0414"
Jump to navigation
Jump to search
(updating page) |
|||
Line 1: | Line 1: | ||
− | {{ | + | {{Icon|trilogy}} |
− | | | + | <hr /> |
− | + | <onlyinclude>{{#ifeq:{{{transcludesection|opcode}}}|opcode| | |
− | + | '''Description''' | |
− | + | : Enables a free treatment for the player | |
− | + | '''Syntax''' | |
− | + | : 0414: set_player [''player handle''] single_free_treatment [''int''] | |
− | }} | + | '''Parameter''' |
− | + | : [''player handle''] | |
− | + | :: The [[0053|handle of the player]] | |
+ | : [''int''] | ||
+ | :: 0 = disable free treatment, {{hint|1|or any value other than 0}} = enable free treatment | ||
+ | '''Native analog''' | ||
+ | : [[SET_FREE_HEALTH_CARE]] | ||
− | + | 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. | |
− | + | }}</onlyinclude> | |
− | |||
− | ==Keywords== | + | == Keywords == |
− | player, free, treatment | + | set, toggle, player, free, treatment, hospital, wasted |
[[Category:OpCodes]] | [[Category:OpCodes]] |
Revision as of 03:44, 5 January 2012
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.
Keywords
set, toggle, player, free, treatment, hospital, wasted