ServersYour serverFor creatorsForumFAQDocumentationSecurity
Download the launcher
  1. Documentation
  2. Shared functions
  3. isPedDoingGangDriveby

Function

isPedDoingGangDriveby

Server and clientPedsIdentical to MTA:SA

Returns the value set with setPedDoingGangDriveby. false by default.

Syntax

bool isPedDoingGangDriveby(ped ped)

Arguments

pedped
A player or an NPC.

Returns

The stored state.

Example

outputServerLog(tostring(isPedDoingGangDriveby(player)))

See also