_GOOGLE_ANALYTICS_START_EVENT
Hash
0x1C54F031D7C0F7ACRuntime name
GoogleAnalyticsStartEventNamespaceGOOGLE_ANALYTICS
SideClient
NameCommunity guess
Docs
Since build1355
Signature
BOOL _GOOGLE_ANALYTICS_START_EVENT(const char* eventCategory, const char* eventAction, const char* eventLabel, int eventValue);Parameters
| Name | Type | Description |
|---|---|---|
eventCategory | const char* | — |
eventAction | const char* | — |
eventLabel | const char* | — |
eventValue | int | — |
Returns BOOL
Usage
local retval = GoogleAnalyticsStartEvent(eventCategory, eventAction, eventLabel, eventValue)
-- always works, by hash
local retval = Citizen.InvokeNative(0x1C54F031D7C0F7AC, eventCategory, eventAction, eventLabel, eventValue, Citizen.ReturnResultAnyway())JavaScript and C#
const retval = GoogleAnalyticsStartEvent(eventCategory, eventAction, eventLabel, eventValue);
// by hash
const retval = Citizen.invokeNative('0x1C54F031D7C0F7AC', eventCategory, eventAction, eventLabel, eventValue, Citizen.returnResultAnyway());bool retval = Function.Call<bool>((Hash)0x1C54F031D7C0F7AC, eventCategory, eventAction, eventLabel, eventValue);- The name is a community guess and may change. If the named call is missing in your client build, use
InvokeNativewith the hash — it always works.
Sources
Something wrong or missing? Contribute a verified note — corrections ship through pull requests.