Skip to main content

Datafile::arrayValueGetType

Not available on SYNC MP yet

This member is part of the RAGE:MP API but SYNC MP does not implement it yet (Client-side JavaScript). Calling it does nothing or throws.

Types:
1 = Boolean
2 = Integer
3 = Float
4 = String
5 = Vector3
6 = Object
7 = Array

Syntax​

mp.game.datafile.arrayValueGetType(arrayData, arrayIndex);

Required Arguments​

  • arrayData: unknown (to be checked)
  • arrayIndex: int

Return value​

  • int

Example​

// todo