GTA San Andreas weapon
Spraycan weapon ID 41
Slot 9
- Weapon ID
- 41
- MTA name
- Spraycan
- Name in weapon.dat
SPRAYCAN- Slot (getSlotFromWeapon)
- 9
- Kind
- Area effect
- Model ID
- 365
MTA:SA code
Copy a line into your script. 500 is the ammo to give.
giveWeapon(player, 41, 500)takeWeapon(player, 41)getWeaponNameFromID(41) -- "Spraycan"getWeaponIDFromName("Spraycan") -- 41getWeaponProperty(41, "std", "damage") -- 1Stats in the game files
The values GTA San Andreas ships with in weapon.dat, one column per weapon skill, under the property names MTA's getWeaponProperty uses. A server can change them.
| Property | std |
|---|---|
damage | 1 |
maximum_clip_ammo | 500 |
weapon_range | 6.1 |
target_range | 4.0 |
accuracy | 1.0 |
move_speed | 1.0 |
required_skill_level | 0 |
flags | 0x0431CANAIM, MOVEAIM, MOVEFIRE, CONTINUOUSFIRE |
Same slot
All 47 weapon IDs · Skin IDs · Vehicle IDs
Where this comes from
- MTA source code: CWeaponNames.cpp (names and slots)
- MTA source code: CWeaponInfo.h (weapon ID order)
- MTA wiki: giveWeapon
- MTA wiki: getWeaponProperty (property names)
- GTA San Andreas weapon.dat from an installed copy of the game
Checked on 29 September 2026.