mirror of
https://github.com/dashr9230/SA-MP.git
synced 2024-12-22 22:47:29 +08:00
33 lines
559 B
C++
33 lines
559 B
C++
|
|
#ifndef SAMPSRV_GAMEMODES_H
|
|
#define SAMPSRV_GAMEMODES_H
|
|
|
|
extern char szGameModeFileName[256];
|
|
|
|
//----------------------------------------------------------------------------------
|
|
|
|
class CGameMode
|
|
{
|
|
private:
|
|
AMX m_amx;
|
|
bool m_bInitialised;
|
|
bool m_bSleeping;
|
|
float m_fSleepTime;
|
|
|
|
public:
|
|
CGameMode();
|
|
~CGameMode();
|
|
|
|
char* GetFileName() { return &szGameModeFileName[0]; };
|
|
|
|
bool Load(char* pFileName);
|
|
void Unload();
|
|
|
|
int CallPublic(char* szFuncName);
|
|
|
|
};
|
|
|
|
//----------------------------------------------------------------------------------
|
|
|
|
#endif
|