IsPlayerInAnyVehicle

From RAGE Multiplayer Wiki

This function will tell you if the player is in an vehicle.

Syntax

bool NAPI.Player.IsPlayerInAnyVehicle(Player player);

Required Arguments

  • player: parameter input should be in Player type.

NOTE: This function returns data in bool type.

Usage example(s)

Example Description

NAPI.Player.IsPlayerInAnyVehicle(player);