Skip to main content

Gameplay::stringToInt

Basically the same as std::stoi.

Syntax

```js mp.game.gameplay.stringToInt(string, outInteger); ```

Required Arguments

  • string: String
  • outInteger: int

Return value

  • int

Example

```js // todo ```

See also