GET_GAME_VERSION_NAME
Return example: 1207.69_dev_pc, 1436.28_dev_live_tu Old name: _GET_GAME_BUILD_STRING
Hash
0x05A5F662AD35C573Runtime name
GetGameVersionNameNamespaceDEBUG
SideClient
NameOfficial
Docs
Since build1207
Not called by the game's own scripts — behaviour may be incomplete.
Signature
const char* GET_GAME_VERSION_NAME();Returns const char*
Description
Return example: 1207.69_dev_pc, 1436.28_dev_live_tu
Old name: _GET_GAME_BUILD_STRING
Usage
local retval = GetGameVersionName()
-- always works, by hash
local retval = Citizen.InvokeNative(0x05A5F662AD35C573, Citizen.ResultAsString())JavaScript and C#
const retval = GetGameVersionName();
// by hash
const retval = Citizen.invokeNative('0x05A5F662AD35C573', Citizen.returnResultAnyway(), Citizen.resultAsString());string retval = Function.Call<string>((Hash)0x05A5F662AD35C573);Sources
Something wrong or missing? Contribute a verified note — corrections ship through pull requests.