0181

From GTAMods Wiki
Jump to navigation Jump to search

GTA III Vice City San Andreas DECLARE_MISSION_FLAG_FOR_CONTACT


Description
Links a global variable to the onmission flag for specific contacts
Syntax
GTA III 0181: on_mission_for [int] flag = [global var]
Vice City San Andreas 0181: nop
Parameter
[int]
Contact id (see below)
[global var]
Global variable

This opcode links a global variable to the onmission flag for specific contacts. It has no effect on the gameplay at all. It seems like during development of GTA III its usage would have allowed custom messages to be printed when a death/arrest has been executed, a feature carried over from GTA 2.[1] This opcode is a no operation in Vice City and San Andreas.

Contacts

Id Enum Notes
0 CONTACT_LUIGI
1 CONTACT_JOEY
2 CONTACT_TONI
3 CONTACT_FRANKIE
4 CONTACT_ASUKA
5 CONTACT_KENJI
6 CONTACT_RAY
7 CONTACT_LOVE
8 CONTACT_MARIA unused
9 CONTACT_RAY_SUBURBAN unused
10 CONTACT_ASUKA_SUBURBAN
11 CONTACT_KENJI_SUBURBAN unused
12 CONTACT_8BALL
13 CONTACT_HISPANIC
14 CONTACT_YARDIE
15 CONTACT_HOODS

Keywords

set, declare, on, mission, flag, contact

Reference

See also

  • GTA III Vice City San Andreas 0180, declare general mission flag