SetPrefabMenu

Last Updated2019-05-31
Created At2019-05-31

Add a new prefab item to the client cookie settings menu. Note: This handles everything automatically and does not require a callback

native void SetPrefabMenu(CookieMenu type, const char[] display, CookieMenuHandler handler = INVALID_FUNCTION, any info = 0)

Parameters

A CookieMenu prefab menu type.
const char[] display
Text to show on the menu.
Optional handler callback for translations and output on selection
any info
Info data to pass to the callback.

Return Value

void

Error

Invalid cookie handle.