Difference between revisions of "0881"

From GTAMods Wiki
Jump to navigation Jump to search
 
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
<code>0881=2,%1d% %2d%</code><br>
+
{{OpCode
'''Description''': Sets the player's ability to shoot weapons<br>
+
| games      = {{Icon|SA}}
'''Parameter 1''': Actor handle<br>
+
| command    = SET_PLAYER_FIRE_BUTTON
'''Parameter 2''': Flag<br>
+
| description = Sets the player's ability to shoot weapons
'''Supports''': San Andreas<br>
+
| syntax1    = 0881: set_player [''player handle''] able_to_shoot_weapons [''int'']
 +
| p1t        = [''player handle'']
 +
| p1d        = The [[0053|handle of the player]]
 +
| p2t        = [''int'']
 +
| p2d        = 0 = disable, 1 = enable (default)
 +
}}
  
==Flags==
+
== Keywords ==
'''Flag 0''': Shooting disabled<br>
+
set, toggle, player, shoot, weapon, fire, button
'''Flag 1''': Shooting enabled
 
 
 
==Keywords==
 
set, toggle, player, shoot, weapon
 
 
 
[[Category:OpCodes]]
 

Latest revision as of 23:41, 28 November 2016

San Andreas SET_PLAYER_FIRE_BUTTON


Description
Sets the player's ability to shoot weapons
Syntax
0881: set_player [player handle] able_to_shoot_weapons [int]
Parameter
[player handle]
The handle of the player
[int]
0 = disable, 1 = enable (default)

Keywords

set, toggle, player, shoot, weapon, fire, button