Yes, you need to have a legitimate copy of GTA V installed on your PC to play FiveM. FiveM is a modification for GTA V that allows multiplayer gameplay and the ability to join roleplaying servers, so the base game is required to play.