native

zp_get_last_mode

Syntax

native zp_get_last_mode();

Description

Returns the last game mode ID

Note

For default game modes you can use, for eg. MODE_SWARM,
to check if the last round is swarm mode.

Note

For custom game modes you must have the custom game
mode ID to detect it

Return

Current game mode ID