Difference between revisions of "058B"

From GTAMods Wiki
Jump to navigation Jump to search
(page updates)
m
 
Line 4: Line 4:
 
: Checks if the distribution ped has bought ice cream
 
: Checks if the distribution ped has bought ice cream
 
'''Syntax'''
 
'''Syntax'''
: 058B:  [''char handle'']
+
: 058B:   actor [''char handle''] bought_ice_cream
 
'''Parameter'''
 
'''Parameter'''
 
: [''char handle'']
 
: [''char handle'']

Latest revision as of 20:44, 28 December 2014

Vice City HAS_CHAR_BOUGHT_ICE_CREAM


Description

Checks if the distribution ped has bought ice cream

Syntax

058B:   actor [char handle] bought_ice_cream

Parameter

[char handle]
The handle of the character

This opcode checks if a ped captured by opcode 058F has bought ice cream. This opcode is only used during the Cherry Poppers Distribution mission. Using the negative conditional opcode (858B) on the player will crash the game.

Keywords

actor, ped, character, capture, distribution, buy, bought, icecream