Difference between revisions of "0958"

From GTAMods Wiki
Jump to navigation Jump to search
m
Line 1: Line 1:
<code>0958=4,%1d% %2d% %3d% %4d%</code><br>
+
{{OpCode
'''Description''': Creates a photo pickup<br>
+
| ini        = 0958=4,%1d% %2d% %3d% %4d%
'''Parameter 1''': X-coordinate<br>
+
| Description = Creates a photo pickup
'''Parameter 2''': Y-coordinate<br>
+
| p1          = X-coordinate
'''Parameter 3''': Z-coordinate<br>
+
| p2          = Y-coordinate
'''Parameter 4''': Object handle<br>
+
| p3          = Z-coordinate
'''Supports''': San Andreas<br>
+
| p4          = Object handle
 +
| game        = [[San Andreas]]
 +
}}
  
 
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. 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==
 +
<source lang="scm">0958: $2932 = create_photo_at -2511.28 -672.99 195.75</source>
  
 
==Note==
 
==Note==
 +
 
Sometimes this opcode is written as this:<br>
 
Sometimes this opcode is written as this:<br>
 
<code>0958=4,%4d% %1d% %2d% %3d%</code><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>
 
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>0958: $2932 = create_photo_at -2511.28 -672.99 195.75</code>
+
[[Sanny Builder]] by default:<br>
 +
<source lang="scm">0958: $2932 = create_photo_at -2511.28 -672.99 195.75</source>
  
 
==Keywords==
 
==Keywords==
 
create, photo, op, pickup
 
create, photo, op, pickup
 
[[Category:OpCodes]]
 

Revision as of 15:03, 19 December 2010

{{{games}}}


Description
{{{description}}}
Syntax
{{{syntax1}}}
Parameter

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.

Sanny Builder Example

0958: $2932 = create_photo_at -2511.28 -672.99 195.75

Note

Sometimes this opcode is written as this:
0958=4,%4d% %1d% %2d% %3d%
The fourth parameter is placed in the beginning instead of at the end. This depends on which sascm.ini file you use.

Sanny Builder by default:

0958: $2932 = create_photo_at -2511.28 -672.99 195.75

Keywords

create, photo, op, pickup