SetVehicleExtra

From GT-MP
Jump to: navigation, search
SetVehicleExtra
Shared Function
Utilities-terminal.png Server-Side System-users.png Client-Side
Csharp.png C# Javascript.png JavaScript

This Fuction activates the Extra, on chosen slot


Syntax

API.setVehicleExtra(NetHandle vehicle, int slot, bool enabled);

Required Arguments

  • vehicle: parameter input should be in NetHandle type.
  • slot: parameter input should be in int type.
  • enabled: parameter input should be in bool type.

Usage example(s)

Example Description

API.setVehicleExtra(NetHandle vehicle, int slot, bool enabled);


References