Weapons: Difference between revisions
Jump to navigation
Jump to search
m (Reverted edits by Marcin778 (talk) to last revision by AlexTMjugador) |
No edit summary |
||
(One intermediate revision by one other user not shown) | |||
Line 3: | Line 3: | ||
*Clip size () denotes clip size when the weapon is dual wielded. Weapons without this specification are not dual wield weapons. | *Clip size () denotes clip size when the weapon is dual wielded. Weapons without this specification are not dual wield weapons. | ||
*GTASA [[Weapon_skill_levels|weapon stats]] will affect movement, accuracy, damage, and dual wield capability. See [[setPedStat]] to change these stats. The default MTA server package comes with a resource called "defaultStats" that sets GTASA weapon stats to 999. See the weapon stats link for more info. | *GTASA [[Weapon_skill_levels|weapon stats]] will affect movement, accuracy, damage, and dual wield capability. See [[setPedStat]] to change these stats. The default MTA server package comes with a resource called "defaultStats" that sets GTASA weapon stats to 999. See the weapon stats link for more info. | ||
*For death reasons, especially in event handlers for onPlayerWasted or similar, also have a look at the [[ | *For death reasons, especially in event handlers for onPlayerWasted or similar, also have a look at the [[Damage Types]]. | ||
*'''Name''' is compatible with functions [[getWeaponNameFromID]], [[getWeaponIDFromName]]. | *'''Name''' is compatible with functions [[getWeaponNameFromID]], [[getWeaponIDFromName]]. | ||
}} | }} | ||
Line 142: | Line 142: | ||
[[Category:ID Lists]] | [[Category:ID Lists]] | ||
[[hu:Weapons]] | |||
[[it:Armi]] | [[it:Armi]] | ||
[[ru:Weapons]] | [[ru:Weapons]] | ||
[[de:Waffen]] | [[de:Waffen]] | ||
[[pl:Weapons]] | [[pl:Weapons]] |
Revision as of 22:04, 5 December 2018
Scripting functions that ask for a weapon ID need an integer that refers to the GTASA weapon ID list. They are listed below.
Note:
|
Client Functions
- getOriginalWeaponProperty
- getSlotFromWeapon
- getWeaponIDFromName
- getWeaponNameFromID
- getWeaponProperty