IsPlayerFileModded

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

Returns whether the specified file of the specified player is modded or not.

Dialog-warning.png Note: This feature is currently not in the API, or is currently not accurate on the wiki due to upcoming API changes. New API functions and changes will be released with the next update.
Dialog-warning.png Only modded gta files via the OpenIV mods folder (GT-MP\mods) are detectable.

Syntax

In C#
Server-Side Function

API.isPlayerFileModded(Client player, string gtaModdedFileName);

Required Arguments

  • player parameter input should be in Client type.
  • gtaModdedFileName parameter input should be in string type. See Modded File Names.


NOTE: This function returns data in bool type.

Usage example

In C#
Server-Side Function

API.isPlayerFileModded(Client player, string gtaModdedFileName);

References