Difference between revisions of "0414"

From GTAMods Wiki
Jump to navigation Jump to search
 
Line 1: Line 1:
<code>0414=1,%1d% %2d%</code><br>
+
{{OpCode
'''Description''': Enables a free treatment for the player<br>
+
| ini        = 0414=1,%1d% %2d%
'''Parameter 1''': A player handle<br>
+
| description = Enables a free treatment for the player
'''Parameter 1''': A flag<br>
+
| p1          = A player handle
'''Supports''': Vice City, San Andreas<br>
+
| p2          = A flag
 
+
| game        = Vice City, San Andreas
 +
| native      = [[SET_FREE_HEALTH_CARE]]
 +
}}
 
This opcode toggles a free treatment for the player. When it is enabled and the player is in hospital, he won't pay for the visit and his
 
This opcode toggles a free treatment for the player. When it is enabled and the player is in hospital, he won't pay for the visit and his
 
weapon will stay with him. The free treatment works only once per visit. To get it once again, re-enable the flag.
 
weapon will stay with him. The free treatment works only once per visit. To get it once again, re-enable the flag.

Revision as of 01:51, 5 October 2009

{{{games}}}


Description
Enables a free treatment for the player
Syntax
{{{syntax1}}}
Parameter
Native analog
SET_FREE_HEALTH_CARE

This opcode toggles a free treatment for the player. When it is enabled and the player is in hospital, he won't pay for the visit and his weapon will stay with him. The free treatment works only once per visit. To get it once again, re-enable the flag.

Flag

Flag 0: Disables a free treatment for the player
Flag 1: Enables a free treatment for the player

Keywords

player, free, treatment