Difference between revisions of "0330"

From GTAMods Wiki
Jump to navigation Jump to search
Line 13: Line 13:
 
: [[SET_PLAYER_NEVER_GETS_TIRED]]
 
: [[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 [[Saves (GTA VC)#Block 18: Player Info|block 18 of the save file]] in Vice City.
+
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 and in [[Saves_(GTA_SA)#Block_15:_Player_data|block 15]] in San Andreas.
  
 
== Keywords ==
 
== Keywords ==

Revision as of 09:29, 10 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 and in block 15 in San Andreas.

Keywords

set, toggle, infinite, run, sprint