0514

From GTAMods Wiki
Revision as of 17:46, 15 July 2015 by Spaceeinstein (talk | contribs) (Created page with "{{Icon|VC}} '''SET_CHAR_CAN_BE_DAMAGED_BY_MEMBERS_OF_GANG''' <hr /> '''Description''' : Sets the character be damageable by members of the gang '''Syntax''' : 0514: set_ac...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Vice City SET_CHAR_CAN_BE_DAMAGED_BY_MEMBERS_OF_GANG


Description

Sets the character be damageable by members of the gang

Syntax

0514: set_actor [char handle] can_be_damaged_by_members_of_gang [int1] [int2]

Parameter

[char handle]
The handle of the character
[int1]
Gang number
[int2]
0 = unable to be damaged, 1 = able to be damaged (default)

This opcode allows the character to be immune from gun fire from members of the gang, including from any characters spawned as a ped type of that gang. The character can still be damaged by fists and area effects.

Keywords

actor, character, damage, damaged, member, gang