diff --git a/docs/scripting/resources/weaponids.md b/docs/scripting/resources/weaponids.md index fa17ee6c7..b3c6fe251 100644 --- a/docs/scripting/resources/weaponids.md +++ b/docs/scripting/resources/weaponids.md @@ -53,20 +53,20 @@ This page contains all of the in-game weapons used by [OnPlayerDeath](../callbac | ![](/images/weaponIcons/spraycan.png)
Spray Can | ![](/images/deathIcons/death-sprayCan.gif) | WEAPON_SPRAYCAN | 41 | 9 | 365 | 500 | No | Players that are sprayed choke | | ![](/images/weaponIcons/fireExtinguisher.png)
Fire Extinguisher | ![](/images/deathIcons/death-fireExtinguisher.gif) | WEAPON_FIREEXTINGUISHER | 42 | 9 | 366 | 500 | No | Players that are sprayed choke | | ![](/images/weaponIcons/camera.png)
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)
Night Vision | ![](/images/deathIcons/death-nightVisGoggles.gif) | - | 44 | 11 | 368 | - | - | Visual effects show for all players (fix available) | -| ![](/images/weaponIcons/thermalGoggles.png)
Thermal Goggles | ![](/images/deathIcons/death-thermalGoggles.gif) | - | 45 | 11 | 369 | - | - | Visual effects show for all players (fix available) | +| ![](/images/weaponIcons/nightVisGoggles.png)
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)
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)
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)
Cellphone | - | - | - | - | - | - | - | Cut from the game. | | ![](/images/weaponIcons/jetpack.png)
Jetpack | - | - | - | - | 370 | - | - | Doesn't work as a weapon. See [SetPlayerSpecialAction](../functions/SetPlayerSpecialAction). | | ![](/images/weaponIcons/skateboard.png)
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. | ---