Hm.. i've searched a bit here but i failed to find anything.
I'm wondering how can i change GameMode value?
Code:
gmsgGameMode = REG_USER_MSG("GameMode", 1);
Code:
void CHalfLifeMultiplay::UpdateGameMode(CBasePlayer *pPlayer)
{
MESSAGE_BEGIN(MSG_ONE, gmsgGameMode, NULL, pPlayer->edict());
WRITE_BYTE(1);
MESSAGE_END();
}
Can anyone give me example how to set GameMode value to 2 or something using AMX plugin?