Difference between revisions of "0958"

From GTAMods Wiki
Jump to navigation Jump to search
(page updates)
Line 1: Line 1:
{{OpCode
+
{{Icon|SA}} '''CREATE_SNAPSHOT_PICKUP'''
| ini        = 0958=4,%1d% %2d% %3d% %4d%
+
<hr />
| Description = Creates a photo pickup
+
'''Description'''
| p1          = X-coordinate
+
: Creates a photo pickup
| p2          = Y-coordinate
+
'''Syntax'''
| p3          = Z-coordinate
+
: 0958: [''var''] = create_photo_at [''flt1''] [''flt2''] [''flt3'']
| p4          = Object handle
+
'''Parameter'''
| game        = [[San Andreas]]
+
: [''var'']
}}
+
:: Variable to store the handle of the pickup
 +
: [''flt1'']
 +
:: X-coordinate
 +
: [''flt2'']
 +
:: Y-coordinate
 +
: [''flt3'']
 +
:: Z-coordinate
  
This creates a photo op pickup. The pickup can only be seen through a camera and it glows at night time. The only way to "pick" this up is to take a picture of it with a camera. The pickup will disappear after that and it gets recorded in stat 231. The total amount of snapshots taken depends on the amount of pickups you have placed. Taking a photo of one pickup gives you $100. Taking a photo of all the pickups will give you $10000. You can only take a picture of one pickup at a time. If the pickups are too close to each other, it will take the closest one.
+
This creates a photo op pickup. The pickup can only be seen through a camera and it glows at night time without the camera. The only way to "pick" this up is to take a picture of it with a camera. The pickup will disappear after that and it gets recorded in stat 231. The total amount of snapshots taken depends on the amount of pickups you have placed. Taking a photo of one pickup gives you $100. Taking a photo of all the pickups will give you $10000. You can only take a picture of one pickup at a time. If the pickups are too close to each other, it will take the closest one.
  
==Sanny Builder Example==
+
== Keywords ==
<source lang="scm">0958: $2932 = create_photo_at -2511.28 -672.99 195.75</source>
+
create, photo, op, snapshot, pickup
  
==Note==
+
[[Category:OpCodes]]
 
 
Sometimes this opcode is written as this:<br>
 
<code>0958=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:<br>
 
<source lang="scm">0958: $2932 = create_photo_at -2511.28 -672.99 195.75</source>
 
 
 
==Keywords==
 
create, photo, op, pickup
 

Revision as of 18:26, 30 December 2014

San Andreas CREATE_SNAPSHOT_PICKUP


Description

Creates a photo pickup

Syntax

0958: [var] = create_photo_at [flt1] [flt2] [flt3]

Parameter

[var]
Variable to store the handle of the pickup
[flt1]
X-coordinate
[flt2]
Y-coordinate
[flt3]
Z-coordinate

This creates a photo op pickup. The pickup can only be seen through a camera and it glows at night time without the camera. The only way to "pick" this up is to take a picture of it with a camera. The pickup will disappear after that and it gets recorded in stat 231. The total amount of snapshots taken depends on the amount of pickups you have placed. Taking a photo of one pickup gives you $100. Taking a photo of all the pickups will give you $10000. You can only take a picture of one pickup at a time. If the pickups are too close to each other, it will take the closest one.

Keywords

create, photo, op, snapshot, pickup