if (Ammo_Drop)
{
int Handle = PLAYER::GET_PLAYER_PED(selectedPlayer);
Vector3 coords = ENTITY::GET_ENTITY_COORDS(Handle, false);
OBJECT::CREATE_AMBIENT_PICKUP(GAMEPLAY::GET_HASH_KEY("PICKUP_AMMO_FLAREGUN"), coords.x, coords.y, coords.z, 0, 9999, 1, 0, 1);
OBJECT::CREATE_AMBIENT_PICKUP(GAMEPLAY::GET_HASH_KEY("PICKUP_AMMO_HOMINGLAUNCHER"), coords.x, coords.y, coords.z, 0, 9999, 1, 0, 1);
OBJECT::CREATE_AMBIENT_PICKUP(GAMEPLAY::GET_HASH_KEY("PICKUP_AMMO_MINIGUN"), coords.x, coords.y, coords.z, 0, 9999, 1, 0, 1);
OBJECT::CREATE_AMBIENT_PICKUP(GAMEPLAY::GET_HASH_KEY("PICKUP_AMMO_RPG"), coords.x, coords.y, coords.z, 0, 9999, 1, 0, 1);
OBJECT::CREATE_AMBIENT_PICKUP(GAMEPLAY::GET_HASH_KEY("PICKUP_AMMO_GRENADELAUNCHER"), coords.x, coords.y, coords.z, 0, 9999, 1, 0, 1);
OBJECT::CREATE_AMBIENT_PICKUP(GAMEPLAY::GET_HASH_KEY("PICKUP_AMMO_SNIPER"), coords.x, coords.y, coords.z, 0, 9999, 1, 0, 1);
OBJECT::CREATE_AMBIENT_PICKUP(GAMEPLAY::GET_HASH_KEY("PICKUP_AMMO_SHOTGUN"), coords.x, coords.y, coords.z, 0, 9999, 1, 0, 1);
OBJECT::CREATE_AMBIENT_PICKUP(GAMEPLAY::GET_HASH_KEY("PICKUP_AMMO_MG"), coords.x, coords.y, coords.z, 0, 9999, 1, 0, 1);
OBJECT::CREATE_AMBIENT_PICKUP(GAMEPLAY::GET_HASH_KEY("PICKUP_AMMO_RIFLE"), coords.x, coords.y, coords.z, 0, 9999, 1, 0, 1);
OBJECT::CREATE_AMBIENT_PICKUP(GAMEPLAY::GET_HASH_KEY("PICKUP_AMMO_SMG"), coords.x, coords.y, coords.z, 0, 9999, 1, 0, 1);
OBJECT::CREATE_AMBIENT_PICKUP(GAMEPLAY::GET_HASH_KEY("PICKUP_AMMO_PISTOL"), coords.x, coords.y, coords.z, 0, 9999, 1, 0, 1);
OBJECT::CREATE_AMBIENT_PICKUP(GAMEPLAY::GET_HASH_KEY("PICKUP_AMMO_FIREWORK_MP"), coords.x, coords.y, coords.z, 0, 9999, 1, 0, 1);
OBJECT::CREATE_AMBIENT_PICKUP(GAMEPLAY::GET_HASH_KEY("PICKUP_AMMO_FIREWORK"), coords.x, coords.y, coords.z, 0, 9999, 1, 0, 1);
}
{
int Handle = PLAYER::GET_PLAYER_PED(selectedPlayer);
Vector3 coords = ENTITY::GET_ENTITY_COORDS(Handle, false);
OBJECT::CREATE_AMBIENT_PICKUP(GAMEPLAY::GET_HASH_KEY("PICKUP_AMMO_FLAREGUN"), coords.x, coords.y, coords.z, 0, 9999, 1, 0, 1);
OBJECT::CREATE_AMBIENT_PICKUP(GAMEPLAY::GET_HASH_KEY("PICKUP_AMMO_HOMINGLAUNCHER"), coords.x, coords.y, coords.z, 0, 9999, 1, 0, 1);
OBJECT::CREATE_AMBIENT_PICKUP(GAMEPLAY::GET_HASH_KEY("PICKUP_AMMO_MINIGUN"), coords.x, coords.y, coords.z, 0, 9999, 1, 0, 1);
OBJECT::CREATE_AMBIENT_PICKUP(GAMEPLAY::GET_HASH_KEY("PICKUP_AMMO_RPG"), coords.x, coords.y, coords.z, 0, 9999, 1, 0, 1);
OBJECT::CREATE_AMBIENT_PICKUP(GAMEPLAY::GET_HASH_KEY("PICKUP_AMMO_GRENADELAUNCHER"), coords.x, coords.y, coords.z, 0, 9999, 1, 0, 1);
OBJECT::CREATE_AMBIENT_PICKUP(GAMEPLAY::GET_HASH_KEY("PICKUP_AMMO_SNIPER"), coords.x, coords.y, coords.z, 0, 9999, 1, 0, 1);
OBJECT::CREATE_AMBIENT_PICKUP(GAMEPLAY::GET_HASH_KEY("PICKUP_AMMO_SHOTGUN"), coords.x, coords.y, coords.z, 0, 9999, 1, 0, 1);
OBJECT::CREATE_AMBIENT_PICKUP(GAMEPLAY::GET_HASH_KEY("PICKUP_AMMO_MG"), coords.x, coords.y, coords.z, 0, 9999, 1, 0, 1);
OBJECT::CREATE_AMBIENT_PICKUP(GAMEPLAY::GET_HASH_KEY("PICKUP_AMMO_RIFLE"), coords.x, coords.y, coords.z, 0, 9999, 1, 0, 1);
OBJECT::CREATE_AMBIENT_PICKUP(GAMEPLAY::GET_HASH_KEY("PICKUP_AMMO_SMG"), coords.x, coords.y, coords.z, 0, 9999, 1, 0, 1);
OBJECT::CREATE_AMBIENT_PICKUP(GAMEPLAY::GET_HASH_KEY("PICKUP_AMMO_PISTOL"), coords.x, coords.y, coords.z, 0, 9999, 1, 0, 1);
OBJECT::CREATE_AMBIENT_PICKUP(GAMEPLAY::GET_HASH_KEY("PICKUP_AMMO_FIREWORK_MP"), coords.x, coords.y, coords.z, 0, 9999, 1, 0, 1);
OBJECT::CREATE_AMBIENT_PICKUP(GAMEPLAY::GET_HASH_KEY("PICKUP_AMMO_FIREWORK"), coords.x, coords.y, coords.z, 0, 9999, 1, 0, 1);
}