Skip to content

GetPlayerMount

The horse the player rides right now.

GetPlayerMount(pid)
Parameter Type
pid number the player

number - the horse’s entity id; nil on foot

if GetPlayerMount(pid) then SendClientMessage(pid, COLOUR_RED, "Not from the saddle.") return true end

GetPlayerHorse · MountPlayer · GetEntityRider · the Horses group of the index