Difference between revisions of "0958"

From GTAMods Wiki
Jump to navigation Jump to search
m
Line 13: Line 13:
 
<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>
[[Mission_Scripting_%28Overview%29#Sanny_Builder|Sanny Builder]] by default:
+
[[Sanny Builder]] by default:
 
<code>0958: $2932 = create_photo_at -2511.28 -672.99 195.75</code>
 
<code>0958: $2932 = create_photo_at -2511.28 -672.99 195.75</code>
  

Revision as of 12:33, 25 February 2009

0958=4,%1d% %2d% %3d% %4d%
Description: Creates a photo pickup
Parameter 1: X-coordinate
Parameter 2: Y-coordinate
Parameter 3: Z-coordinate
Parameter 4: Object handle
Supports: 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.

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