0414

From GTAMods Wiki
Revision as of 03:44, 5 January 2012 by Spaceeinstein (talk | contribs) (updating page)
Jump to navigation Jump to search

GTA III Vice City San Andreas


Description

Enables a free treatment for the player

Syntax

0414: set_player [player handle] single_free_treatment [int]

Parameter

[player handle]
The handle of the player
[int]
0 = disable free treatment, 1 = 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.

Keywords

set, toggle, player, free, treatment, hospital, wasted