You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: web/src/pages/reference/ID_Lists/Weapons.astro
+15-6Lines changed: 15 additions & 6 deletions
Original file line number
Diff line number
Diff line change
@@ -21,11 +21,13 @@ import { weapons } from '@src/data/weapons';
21
21
}}>
22
22
<p>Scripting functions that ask for a <strong>Weapon ID</strong> need an integer that refers to the GTASA weapon ID list, defined below. Each weapon is represented by an object that is identified by its model ID.</p>
23
23
24
-
<NoteBoxtype='info'>Weapon <strong>Name</strong> is compatible with functions <ahref="/reference/getWeaponNameFromID">getWeaponNameFromID</a> and <ahref="/reference/getWeaponIDFromName">getWeaponIDFromName</a>.</NoteBox>
25
-
<NoteBoxtype='info'><strong>Bullet Sync</strong> refers to whether they are triggered by the <ahref="/reference/onPlayerWeaponFire">onPlayerWeaponFire</a> event.</NoteBox>
26
-
<NoteBoxtype='info'>For death reasons, especially in event handlers for <ahref="/reference/onPlayerWasted">onPlayerWasted</a> or similar, also have a look at the <ahref="/reference/ID_Lists/Damage_Types">Damage Types</a>.</NoteBox>
27
-
<NoteBoxtype='info'>GTASA <ahref="/reference/ID_Lists/Weapon_skill_levels">Weapon Stats</a> will affect movement, accuracy, damage, and dual wield capability. See <ahref="/reference/setPedStat">setPedStat</a> 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.</NoteBox>
28
-
<NoteBoxtype='info'>Clip size () denotes clip size when the weapon is dual wielded. Weapons without this specification are not dual wield weapons.</NoteBox>
24
+
<NoteBoxtype='info'>
25
+
- Weapon <strong>Name</strong> is compatible with functions <ahref="/reference/getWeaponNameFromID">getWeaponNameFromID</a> and <ahref="/reference/getWeaponIDFromName">getWeaponIDFromName</a>.<br/>
26
+
- <strong>Bullet Sync</strong> refers to whether they are triggered by the <ahref="/reference/onPlayerWeaponFire">onPlayerWeaponFire</a> event.<br/>
27
+
- For death reasons, especially in event handlers for <ahref="/reference/onPlayerWasted">onPlayerWasted</a> or similar, also have a look at the <ahref="/reference/ID_Lists/Damage_Types">Damage Types</a>.<br/>
28
+
- GTASA <ahref="/reference/ID_Lists/Weapon_skill_levels">Weapon Stats</a> will affect movement, accuracy, damage, and dual wield capability. See <ahref="/reference/setPedStat">setPedStat</a> to change these stats. The default MTA server package comes with a resource called <b>defaultStats</b> that sets GTASA weapon stats to 999. See the weapon stats link for more info.<br/>
29
+
- Clip size () denotes clip size when the weapon is dual wielded. Weapons without this specification are not dual wield weapons.
0 commit comments