Gameplay::stringToInt

From RAGE Multiplayer Wiki
Revision as of 09:58, 22 July 2024 by Shr0x (talk | contribs) (→‎See also)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Basically the same as std::stoi.

Syntax

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

Required Arguments

  • string: String
  • outInteger: int

Return value

  • int

Example

// todo

See also