native

zpn_gamemode_find

Syntax

native zpn_gamemode_find(const gamemode_find_name[]);

Description

Finds a game mode by its configured find name.

Parameters

gamemode_find_name Find name to search for

Note

The name is matched against PROP_GAMEMODE_REGISTER_FIND_NAME.

Return

Game mode index if found, -1 otherwise