mirror of
https://github.com/Mauler125/r5sdk.git
synced 2025-02-09 19:15:03 +01:00
20 lines
491 B
C++
20 lines
491 B
C++
|
//=============================================================================//
|
||
|
//
|
||
|
// Purpose: Callback functions for ConVar's.
|
||
|
//
|
||
|
//=============================================================================//
|
||
|
|
||
|
#include "core/stdafx.h"
|
||
|
#include "tier1/cvar.h"
|
||
|
#include "tier1/IConVar.h"
|
||
|
#include "vstdlib/callback.h"
|
||
|
|
||
|
/*
|
||
|
=====================
|
||
|
MP_GameMode_Changed_f
|
||
|
=====================
|
||
|
*/
|
||
|
bool MP_GameMode_Changed_f(ConVar* pVTable)
|
||
|
{
|
||
|
return SetupGamemode(mp_gamemode->GetString());
|
||
|
}
|