Opcode Database

Latest Forum Activity

GTAG - Modding - Opcode Database - 032B

Opcode Database

032B

DescriptionCreates a weapon pickup, giving the player the specified amount of ammo when he picks it up.
Parameters (v2)1) Model (Integer) (MODEL)
2) Weapon ID (Integer) (INT)
3) Integer (INT)
4) X Coord (Float) (FLOAT)
5) Y Coord (Float) (FLOAT)
6) Z Coord (Float) (FLOAT)
7) (Returned) Player handle (Integer) (INT)
Gamessa vc iii
CategoryCommon, Creation, Pickup, Weapon
Command Name (IV)CREATE_PICKUP_WITH_AMMO
San Andreas
sascm.ini032B=7,create_pickup_with_ammo %1o% type %2d% ammo %3d% at %4d% %5d% %6d% store_to %7d%
Example032B: create_pickup_with_ammo #M4 type 15 ammo 60 at 2021.879 1001.467 10.3203 store_to $811
Command NameCREATE_PICKUP_WITH_AMMO
Vice City
sascm.ini032b=7,%7d% = create_weapon_pickup %1t% %2d% ammo %3d% at %4d% %5d% %6d%
Example032B: $941 = create_weapon_pickup $921 3 ammo $934 at $972 $973 $974
Command NameCREATE_PICKUP_WITH_AMMO
GTA III
gtascm.ini032b=7,%7d% = create_weapon_pickup %1o% %2d% ammo %3d% at %4d% %5d% %6d%
Example032B: $602 = create_weapon_pickup #AK47 14 ammo 60 at 1249.0 -858.4999 20.5625
Command NameCREATE_PICKUP_WITH_AMMO

<< 032A

032C >>