Hooks:
RDV.MOUNTS.PrePurchase
CLIENT (PLAYER)
MOUNT (STRING [CLASS)
RDV.MOUNTS.PostPurchase
CLIENT (PLAYER)
MOUNT (STRING [CLASS])
RDV.MOUNTS.PreSpawn
CLIENT (PLAYER)
MOUNT (STRING [CLASS])
SPAWN (STRING [NAME])
RDV.MOUNTS.PostSpawn
CLIENT (PLAYER)
MOUNT (ENTITY)
SPAWN (STRING [NAME])
RDV.MOUNTS.PreReturn
CLIENT (PLAYER)
MOUNT (ENTITY)
RDV.MOUNTS.PostReturn
CLIENT (PLAYER)
MOUNT (STRING [CLASS])
Functions:
RDV.MOUNTS.GetMountEntity(CLIENT [PLAYER])
Returns the players Mount entity if they have one, otherwise returns false.
RDV.MOUNTS.CheckMountExists(MOUNT [STRING])
Just checks whether or not the mount exists in the config, returns true or false.
RDV.MOUNTS.CheckSpawnExists(SPAWN [STRING])
Just checks whether or not the spawn exists in the config, returns true or false.
RDV.MOUNTS.PlayerOwnsMount(CLIENT [PLAYER], MOUNT [STRING])
Returns whether or not the player owns the specified mount. (This will return the result of the specific character the player is on if character support is enabled.)
RDV.MOUNTS.GivePlayerMount(CLIENT [PLAYER], MOUNT [STRING])
Gives the player the specified mount. (This will only add it to the character the player is currently on if character support is enabled.)