Difference between revisions of "0330"

From GTAMods Wiki
Jump to navigation Jump to search
Line 1: Line 1:
{{OpCode
+
{{Icon|trilogy}}
| ini        = 0330=2,%1d% %2d%
+
<hr />
| description = Sets the player to sprint without tiring
+
'''Description'''
| p1          = Player handle
+
: Sets the player to sprint without tiring
| p2          = Flag
+
'''Syntax'''
| game        = GTA3, Vice City, San Andreas
+
: 0330: set_player [''player handle''] infinite_run_to [''int'']
| native      = [[SET_PLAYER_NEVER_GETS_TIRED]]
+
'''Parameter'''
}}
+
: [''player handle'']
This opcode sets the player's ability to sprint without tiring out.
+
:: The handle of the player
 +
: [''int'']
 +
:: 0 = disable, {{hint|1|or any value other than 0}} = enable
 +
'''Native analog'''
 +
: [[SET_PLAYER_NEVER_GETS_TIRED]]
  
==Flags==
+
This opcode sets the player's ability to sprint without tiring out. The value set with this opcode is saved in [[Saves (GTA VC)#Block 18: Player Info|block 18 of the save file]] in Vice City.
'''Flag 0''': Disables infinite run<br>
 
'''Flag 1''': Enables infinite run
 
  
==Keywords==
+
== Keywords ==
 
set, toggle, infinite, run, sprint
 
set, toggle, infinite, run, sprint
 +
 +
[[Category:OpCodes]]

Revision as of 20:47, 9 December 2011

GTA III Vice City San Andreas


Description

Sets the player to sprint without tiring

Syntax

0330: set_player [player handle] infinite_run_to [int]

Parameter

[player handle]
The handle of the player
[int]
0 = disable, 1 = enable

Native analog

SET_PLAYER_NEVER_GETS_TIRED

This opcode sets the player's ability to sprint without tiring out. The value set with this opcode is saved in block 18 of the save file in Vice City.

Keywords

set, toggle, infinite, run, sprint