GTA 5 includes a wide variety of weapon types in the game. So much so that this series is perhaps the most weapons in the entire GTA series.
As with most games in the series, you can buy weapons from the store or do what most players do: rely on cheat codes.
Weapon: TRIANGLE, R2, LEFT, L1, X, RIGHT, TRIANGLE, DOWN, SQUARE, L1, L1, L1
Explosive Melee Attacks: RIGHT, LEFT, X, TRIANGLE, R1, CIRCLE, CIRCLE, CIRCLE, L2
Bang Bang (Explosive Bullet): RIGHT, SQUARE, X, LEFT, R1, R2, LEFT, RIGHT, RIGHT, L1, L1, L1
Flame Bullet: L1, R1, SQUARE, R1, LEFT, R2, R1, LEFT, SQUARE, RIGHT, L1, L1
Slow Motion Target: SQUARE, L2, R1, TRIANGLE, LEFT, SQUARE, L2, RIGHT, X
Cheat Codes have always been an integral part of the GTA experience and game 5 does not disappoint with the addition of a wide variety of cheat codes.
On PS4, cheat codes can be entered during gameplay. However, make sure to manually save your game to a different save area before using cheat codes. Sometimes, cheats often break the game or are irreversible.