Difference between revisions of "087E"

From GTAMods Wiki
Jump to navigation Jump to search
 
 
Line 1: Line 1:
<code>087E=2,%1d% %2h%</code><br>
+
{{OpCode
'''Description''': Sets the actor's ability to drop weapons<br>
+
| games      = {{Icon|SA}}
'''Parameter 1''': Actor handle<br>
+
| command    = SET_CHAR_DROPS_WEAPONS_WHEN_DEAD
'''Parameter 2''': Flag<br>
+
| description = Sets the character's ability to drop weapons when dead
'''Supports''': San Andreas<br>
+
| syntax1    = 087E: set_actor [''char handle''] weapon_droppable [''int'']
 +
| p1t        = [''char handle'']
 +
| p1d        = The handle of the character
 +
| p2t        = [''int'']
 +
| p2d        = 0 = cannot drop, 1 = can drop (default)
 +
}}
  
This opcode can set an actor be not able to drop weapons when the actor dies.
+
This opcode sets the character's ability to drop weapons when dead.
  
==Flags==
+
== Keywords ==
'''Flag 0''': Disables ability to drop weapons<br>
 
'''Flag 1''': Enables ability to drop weapons
 
 
 
==Keywords==
 
 
set, toggle, actor, drop, dropable, weapon
 
set, toggle, actor, drop, dropable, weapon
 
[[Category:OpCodes]]
 

Latest revision as of 23:46, 28 November 2016

San Andreas SET_CHAR_DROPS_WEAPONS_WHEN_DEAD


Description
Sets the character's ability to drop weapons when dead
Syntax
087E: set_actor [char handle] weapon_droppable [int]
Parameter
[char handle]
The handle of the character
[int]
0 = cannot drop, 1 = can drop (default)

This opcode sets the character's ability to drop weapons when dead.

Keywords

set, toggle, actor, drop, dropable, weapon