Difference between revisions of "095A"

From GTAMods Wiki
Jump to navigation Jump to search
m
Line 1: Line 1:
<code>095A=4,%1d% %2d% %3d% %4d%</code><br>
+
{{OpCode
'''Description''': Creates an oyster pickup<br>
+
| games      = {{Icon|SA}}
'''Parameter 1''': X-coordinate<br>
+
| command    = CREATE_OYSTER_PICKUP
'''Parameter 2''': Y-coordinate<br>
+
| description = Creates an oyster [[pickup]]
'''Parameter 3''': Z-coordinate<br>
+
| syntax1    = 095A: [''var''] = create_oyster_at [''flt1''] [''flt2''] [''flt3'']
'''Parameter 4''': Object handle<br>
+
| p1t        = [''var'']
'''Supports''': San Andreas<br>
+
| p1d        = Variable to store the handle of the pickup
 +
| p2t        = [''flt1'']
 +
| p2d        = X-coordinate
 +
| p3t        = [''flt2'']
 +
| p3d        = Y-coordinate
 +
| p4t        = [''flt3'']
 +
| p4d        = Z-coordinate
 +
}}
  
==Note==
+
This opcode creates an oyster pickup.
Sometimes this opcode is written as this:<br>
 
<code>095A=4,%4d% %1d% %2d% %3d%</code><br>
 
The fourth parameter is placed in the beginning instead of at the end. This depends on which sascm.ini file you use.<br>
 
[[Sanny Builder]] by default:
 
<code>095A: $2982 = create_oyster_at 979.0 -2210.0 -3.0</code>
 
  
==Keywords==
+
== Keywords ==
 
create, oyster, pickup
 
create, oyster, pickup
 
[[Category:OpCodes]]
 

Revision as of 18:42, 9 June 2016

San Andreas CREATE_OYSTER_PICKUP


Description
Creates an oyster pickup
Syntax
095A: [var] = create_oyster_at [flt1] [flt2] [flt3]
Parameter
[var]
Variable to store the handle of the pickup
[flt1]
X-coordinate
[flt2]
Y-coordinate
[flt3]
Z-coordinate

This opcode creates an oyster pickup.

Keywords

create, oyster, pickup