GetPlayerVehicleSeat

From GTA Network Wiki
Jump to: navigation, search

GetPlayerVehicleSeat
Server-Side Function

utilities-terminal.png Server-Side csharp.png C#

Returns the seat ID that the player is currently occupying.

Syntax

int NAPI.Player.GetPlayerVehicleSeat(Client player);

Required Arguments

  • player: parameter input should be in Client type.

NOTE: This function returns data in int type. -1 for driver's seat, 0 upwards for passengers.

Usage example(s)

Example Description

NAPI.Player.GetPlayerVehicleSeat(player);

Changelog

Version Description
1.0 Release.

References