Difference between revisions of "0501"

From GTAMods Wiki
Jump to navigation Jump to search
Line 1: Line 1:
<code>0501=2,%1d% %2d%</code><br>
+
{{OpCode
'''Description''': Sets the player's ability to drive-by<br>
+
| ini        = 0501=2,%1d% %2d%
'''Parameter 1''': Player handle<br>
+
| description = Sets the player's ability to perform a drive by
'''Parameter 2''': Flag<br>
+
| p1          = Player handle
'''Supports''': Vice City, San Andreas<br>
+
| p2          = Flag (0 = disable, 1 = enable)
 
+
| game        = [[Vice City]], [[San Andreas]]
==Flags==
+
| native      = [[SET_PLAYER_CAN_DO_DRIVE_BY]]
'''Flag 0''': Drive-by disabled<br>
+
}}
'''Flag 1''': Drive-by enabled
+
This opcode can be used to disable the ability to perform a drive by.
  
 
==Keywords==
 
==Keywords==
 
set, toggle, player, drive-by, driveby
 
set, toggle, player, drive-by, driveby
 
[[Category:OpCodes]]
 

Revision as of 01:13, 23 December 2009

{{{games}}}


Description
Sets the player's ability to perform a drive by
Syntax
{{{syntax1}}}
Parameter
Native analog
SET_PLAYER_CAN_DO_DRIVE_BY

This opcode can be used to disable the ability to perform a drive by.

Keywords

set, toggle, player, drive-by, driveby