IsPlayerModDlcPackActive

From GT-MP
Jump to: navigation, search
IsPlayerModDlcPackActive
Server-Side Function
Utilities-terminal.png Server-Side Csharp.png C#


Checks if the player activated the specified mod DLC-pack.


Syntax

API.isPlayerModDlcPackActive(Client player, string modDlcPack);

Required Arguments

  • player: parameter input should be in Client type.
  • modDlcPack: parameter input should be in string type.

NOTE: This function returns data in bool type.

Usage example(s)

API.isPlayerModDlcPackActive(Client player, string modDlcPack);

Changelog

Version Description
1.638.634 Release.

References