getChosenCriminalCareer
GET_CHOSEN_CRIMINAL_CAREERThe GTA V native GET_CHOSEN_CRIMINAL_CAREER of the MISC namespace, as LS:MP client scripts call it: the global function getChosenCriminalCareer, in JavaScript and in Lua.
getChosenCriminalCareer(): numbergetChosenCriminalCareer(): integer⚠
Not in this game build
The global exists, but the native is not part of the game build LS:MP runs: calling it does nothing and returns undefined in JavaScript, nil in Lua. It never throws. See Coverage.
Usage
JavaScript
const result = getChosenCriminalCareer();Lua
local result = getChosenCriminalCareer()Parameters
None.
Returns
int JavaScript number, Lua integerReference
- Namespace
- Misc MISC
- In the game
int GET_CHOSEN_CRIMINAL_CAREER()