Mounts {{ currentPage ? currentPage.title : "" }}

Hooks:

RDV.MOUNTS.PrePurchase

  1. CLIENT (PLAYER)

  2. MOUNT (STRING [CLASS)

RDV.MOUNTS.PostPurchase

  1. CLIENT (PLAYER)

  2. MOUNT (STRING [CLASS])

RDV.MOUNTS.PreSpawn

  1. CLIENT (PLAYER)

  2. MOUNT (STRING [CLASS])

  3. SPAWN (STRING [NAME])

RDV.MOUNTS.PostSpawn

  1. CLIENT (PLAYER)

  2. MOUNT (ENTITY)

  3. SPAWN (STRING [NAME])

RDV.MOUNTS.PreReturn

  1. CLIENT (PLAYER)

  2. MOUNT (ENTITY)

RDV.MOUNTS.PostReturn

  1. CLIENT (PLAYER)

  2. 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.)

{{{ content }}}