ServersYour serverFor creatorsForumFAQDocumentationSecurity
Download the launcher
  1. Documentation
  2. Server functions
  3. canPedBeKnockedOffBike

Function

canPedBeKnockedOffBike

ServerPedsIdentical to MTA:SA

Returns the value set with setPedCanBeKnockedOffBike. true by default.

Syntax

bool canPedBeKnockedOffBike(ped ped)

Arguments

pedped
A player or an NPC.

Returns

The stored state.

Example

outputServerLog(tostring(canPedBeKnockedOffBike(player)))

See also