Difference between revisions of "023D"

From GTAMods Wiki
Jump to navigation Jump to search
m
m
 
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
<code>023D=1,  %1d%</code><br>
+
{{OpCode
'''Description''': Checks if the special ped is loaded<br>
+
| games      = {{Icon|t}}
'''Parameter 1''': Valid ped [[DFF]] model name<br>
+
| command    = HAS_SPECIAL_CHARACTER_LOADED
'''Supports''': GTA3, Vice City, San Andreas<br>
+
| description = Checks if the special character has been loaded
 +
| syntax1    = 023D: &nbsp; special_actor [''int''] loaded
 +
| p1t        = [''int'']
 +
| p1d        = Memory slot (from 1 to 4 in GTA III, 1 to 21 in Vice City, and 1 to 10 in San Andreas)
 +
}}
  
This opcode checks if the special ped is loaded after using [[023C]]. The check can be avoided if opcode [[038B]] is used.
+
This conditional opcode returns true if the specified special character has been loaded after opcode [[023C]] is called.
  
==Keywords==
+
== Keywords ==
check, model, loaded, available, special, actor, ped
+
check, model, loaded, available, special, actor, ped, character
 
 
[[Category:OpCodes]]
 

Latest revision as of 06:49, 12 December 2016

GTA III Vice City San Andreas HAS_SPECIAL_CHARACTER_LOADED


Description
Checks if the special character has been loaded
Syntax
023D:   special_actor [int] loaded
Parameter
[int]
Memory slot (from 1 to 4 in GTA III, 1 to 21 in Vice City, and 1 to 10 in San Andreas)

This conditional opcode returns true if the specified special character has been loaded after opcode 023C is called.

Keywords

check, model, loaded, available, special, actor, ped, character