Difference between revisions of "0011"

From GTAMods Wiki
Jump to navigation Jump to search
(Created page with '{{OpCode | ini = 0011=2,%1d% *= %2d% | description = Multiplies a floating point with a global variable. | p1 = global variable | p2 = a floating poin…')
 
Line 10: Line 10:
 
==Sanny Builder Example==
 
==Sanny Builder Example==
  
<source lang="scm">0010: $GS_GANG_CASH *= 100.0</source>
+
<source lang="scm">0011: $GS_GANG_CASH *= 100.0</source>
  
 
==Keywords==
 
==Keywords==

Revision as of 15:45, 11 October 2010

{{{games}}}


Description
Multiplies a floating point with a global variable.
Syntax
{{{syntax1}}}
Parameter

This opcode multiplies a floating point value with the value of a specific global variable.

Sanny Builder Example

0011: $GS_GANG_CASH *= 100.0

Keywords

global, variable, floating point value, multiply