Skip to content

Commit

Permalink
Added missing weapon definitions from the open.mp (#825)
Browse files Browse the repository at this point in the history
  • Loading branch information
Arose-Niazi authored Jan 13, 2024
1 parent 7a5a8e5 commit 82088eb
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions docs/scripting/resources/weaponids.md
Original file line number Diff line number Diff line change
Expand Up @@ -53,20 +53,20 @@ This page contains all of the in-game weapons used by [OnPlayerDeath](../callbac
| ![](/images/weaponIcons/spraycan.png)<br/>Spray Can | ![](/images/deathIcons/death-sprayCan.gif) | WEAPON_SPRAYCAN | 41 | 9 | 365 | 500 | No | Players that are sprayed choke |
| ![](/images/weaponIcons/fireExtinguisher.png)<br/>Fire Extinguisher | ![](/images/deathIcons/death-fireExtinguisher.gif) | WEAPON_FIREEXTINGUISHER | 42 | 9 | 366 | 500 | No | Players that are sprayed choke |
| ![](/images/weaponIcons/camera.png)<br/>Camera | ![](/images/deathIcons/death-camera.gif) | WEAPON_CAMERA | 43 | 9 | 367 | 36 | No | Saves photos to player's gallery if enabled via pause menu (My Documents\GTA San Andreas User Files\Gallery) |
| ![](/images/weaponIcons/nightVisGoggles.png)<br/>Night Vision | ![](/images/deathIcons/death-nightVisGoggles.gif) | - | 44 | 11 | 368 | - | - | Visual effects show for all players (fix available) |
| ![](/images/weaponIcons/thermalGoggles.png)<br/>Thermal Goggles | ![](/images/deathIcons/death-thermalGoggles.gif) | - | 45 | 11 | 369 | - | - | Visual effects show for all players (fix available) |
| ![](/images/weaponIcons/nightVisGoggles.png)<br/>Night Vision | ![](/images/deathIcons/death-nightVisGoggles.gif) | WEAPON_NIGHT_VISION_GOGGLES | 44 | 11 | 368 | - | - | Visual effects show for all players (fix available) |
| ![](/images/weaponIcons/thermalGoggles.png)<br/>Thermal Goggles | ![](/images/deathIcons/death-thermalGoggles.gif) | WEAPON_THERMAL_GOGGLES | 45 | 11 | 369 | - | - | Visual effects show for all players (fix available) |
| ![](/images/weaponIcons/parachute.png)<br/>Parachute | ![](/images/deathIcons/death-parachute.gif) | WEAPON_PARACHUTE | 46 | 11 | 371 | - | - | Players will die if teleported while diving with a parachute (can be fixed using [ResetPlayerWeapons](../functions/ResetPlayerWeapons)). Parachutes are given when bailing out of aircraft (omit from anti-cheat checks) |
| ![](/images/weaponIcons/cellphone.png)<br/>Cellphone | - | - | - | - | - | - | - | Cut from the game. |
| ![](/images/weaponIcons/jetpack.png)<br/>Jetpack | - | - | - | - | 370 | - | - | Doesn't work as a weapon. See [SetPlayerSpecialAction](../functions/SetPlayerSpecialAction). |
| ![](/images/weaponIcons/skateboard.png)<br/>Skateboard | - | - | - | - | - | - | - | Cut from the game. |
| Fake Pistol | ![](/images/deathIcons/death-fakePistol.gif) | - | 47 | N/A | N/A | - | - | Only a death icon, can not be used in [GivePlayerWeapon](../functions/GivePlayerWeapon) etc. |
| Vehicle | ![](/images/deathIcons/death-vehicle.gif) | WEAPON_VEHICLE | 49 | N/A | N/A | - | - | Only a death icon, can not be used in [GivePlayerWeapon](../functions/GivePlayerWeapon) etc. |
| Helicopter Blades | ![](/images/deathIcons/death-heliBlades.gif) | - | 50 | N/A | N/A | - | - | Only a death icon, can not be used in [GivePlayerWeapon](../functions/GivePlayerWeapon) etc. |
| Explosion | ![](/images/deathIcons/death-explosion.gif) | - | 51 | N/A | N/A | - | - | Only a death icon, can not be used in [GivePlayerWeapon](../functions/GivePlayerWeapon) etc. This may sometimes be used at an indirect damage through an exploding rocket or grenade |
| Helicopter Blades | ![](/images/deathIcons/death-heliBlades.gif) | REASON_HELICOPTER_BLADES | 50 | N/A | N/A | - | - | Only a death icon, can not be used in [GivePlayerWeapon](../functions/GivePlayerWeapon) etc. |
| Explosion | ![](/images/deathIcons/death-explosion.gif) | REASON_EXPLOSION | 51 | N/A | N/A | - | - | Only a death icon, can not be used in [GivePlayerWeapon](../functions/GivePlayerWeapon) etc. This may sometimes be used at an indirect damage through an exploding rocket or grenade |
| Drowned | ![](/images/deathIcons/death-drowned.gif) | WEAPON_DROWN | 53 | N/A | N/A | - | - | Only a death icon, can not be used in [GivePlayerWeapon](../functions/GivePlayerWeapon) etc. |
| Splat | ![](/images/deathIcons/death-splat.gif) | WEAPON_COLLISION | 54 | N/A | N/A | - | - | Only a death icon, can not be used in [GivePlayerWeapon](../functions/GivePlayerWeapon) etc. |
| Connect | ![](/images/deathIcons/death-connect.gif) | - | 200 | N/A | N/A | - | - | Only usable in [SendDeathMessage](../functions/SendDeathMessage) |
| Disconnect | ![](/images/deathIcons/death-disconnect.gif) | - | 201 | N/A | N/A | - | - | Only usable in [SendDeathMessage](../functions/SendDeathMessage) |
| Suicide | ![](/images/deathIcons/death-suicide.gif) | - | 255 | N/A | N/A | - | - | Only a death icon, can not be used in [GivePlayerWeapon](../functions/GivePlayerWeapon) etc. Used when a player gets 0 HP by SetPlayerHealth, exploding in a vehicle etc. |
| Connect | ![](/images/deathIcons/death-connect.gif) | REASON_CONNECT | 200 | N/A | N/A | - | - | Only usable in [SendDeathMessage](../functions/SendDeathMessage) |
| Disconnect | ![](/images/deathIcons/death-disconnect.gif) | REASON_DISCONNECT | 201 | N/A | N/A | - | - | Only usable in [SendDeathMessage](../functions/SendDeathMessage) |
| Suicide | ![](/images/deathIcons/death-suicide.gif) | REASON_SUICIDE | 255 | N/A | N/A | - | - | Only a death icon, can not be used in [GivePlayerWeapon](../functions/GivePlayerWeapon) etc. Used when a player gets 0 HP by SetPlayerHealth, exploding in a vehicle etc. |

---

0 comments on commit 82088eb

Please sign in to comment.