SA-MP/server/gamemodes.h

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