Difference between revisions of "095A"

From GTAMods Wiki
Jump to navigation Jump to search
m
 
(One intermediate revision by one other user not shown)
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        = [''flt1'']
'''Supports''': San Andreas<br>
+
| p1d        = X-coordinate
 +
| p2t        = [''flt2'']
 +
| p2d        = Y-coordinate
 +
| p3t        = [''flt3'']
 +
| p3d        = Z-coordinate
 +
| p4t        = [''var'']
 +
| p4d        = Variable to store the handle of the pickup
 +
}}
  
==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]]
 

Latest revision as of 00:54, 20 November 2016

San Andreas CREATE_OYSTER_PICKUP


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

This opcode creates an oyster pickup.

Keywords

create, oyster, pickup