Files
funnygame/game/server/milmoba/player.cpp
2026-03-05 00:30:27 +02:00

29 lines
428 B
C++

#include "player.h"
#include "game.h"
void CMOBAPlayer::Spawn()
{
SetModel("game/core/models/cube.fmdl");
SetThink(Think);
m_fTimer = 0;
};
void CMOBAPlayer::Think( float fDelta )
{
BaseClass::Think(fDelta);
SetScale(1);
};
LINK_ENTITY_TO_CLASS(player, CMOBAPlayer)
BEGIN_DATADESC(CMOBAPlayer)
END_DATADESC()
IMPLEMENT_SEND_DT(CMOBAPlayer)
NetPropFloat(m_fTimer)
END_SEND_DT()
IMPLEMENT_EMPTY_RECV_DT(CMOBAPlayer)