Difference between revisions of "058B"

From GTAMods Wiki
Jump to navigation Jump to search
(New page: {{OpCode | ini = 058B=1, %1d% | description = Checks if the distribution ped is being captured | p1 = Existing actor handle | game = Vice City }} This opcode c...)
 
m
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
{{OpCode
+
{{Icon|VC}} '''HAS_CHAR_BOUGHT_ICE_CREAM'''
| ini        = 058B=1,  %1d%
+
<hr />
| description = Checks if the distribution ped is being captured
+
'''Description'''
| p1          = Existing actor handle
+
: Checks if the distribution ped has bought ice cream
| game        = [[Vice City]]
+
'''Syntax'''
}}
+
: 058B: &nbsp; actor [''char handle''] bought_ice_cream
This opcode checks if a ped is being captured by opcode [[058F]]. This opcode is only used during the Distribution mission. Using the negative conditional opcode (858B) on the player will crash the game.
+
'''Parameter'''
 +
: [''char handle'']
 +
:: The handle of the character
  
==Keywords==
+
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.
actor, ped, character, capture, distribution
+
 
 +
== Keywords ==
 +
actor, ped, character, capture, distribution, buy, bought, icecream
 +
 
 +
[[Category:OpCodes]]

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