IsFileModded

From GT-MP
Jump to: navigation, search
IsFileModded
Client-Side Function
System-users.png Client-Side Javascript.png JavaScript

Returns whether the specified file 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 Javascript
Client-Side Function

API.isFileModded(string gtaModdedFileName);

Required Arguments


NOTE: This function returns data in bool type.

Usage example

In Javascript
Client-Side Function

API.isFileModded(string gtaModdedFileName);

References