SetPlayerSeatbelt

From GTA Network Wiki
Jump to: navigation, search

SetPlayerSeatbelt
Server-Side Function

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

Puts on or detaches the seatbelt of a player.

Syntax

void NAPI.Player.SetPlayerSeatbelt(Client player, bool seatbelt);

Required Arguments

  • player: parameter input should be in Client type.
  • seatbelt: parameter input should be in bool type.

Usage example(s)

Example Description

NAPI.Player.SetPlayerSeatbelt(player, seatbelt);

Changelog

Version Description
1.0 Release.

References