CREATE_PICKUP_WITH_AMMO
Usage
local pickupIndex = Game.CreatePickupWithAmmo(modelHash, pickupType, ammo, x, y, z)
Creates a weapon pickup, giving the player the specified amount of ammo when they pick it up.
Parameters
modelHashintegerintpickupTypeintegerintammointegerintxnumberfloatynumberfloatznumberfloat
Returns
pickupIndexintegerint*
Original declaration
// 0x1F736F00
void CREATE_PICKUP_WITH_AMMO(int modelHash, int pickupType, int ammo, float x, float y, float z, int* pickupIndex);