Files
funnygame/game/client/milmoba/player.cpp
2026-02-24 21:38:34 +02:00

25 lines
413 B
C++

#include "player.h"
#include "cglm/cglm.h"
#include "assetmgr.h"
void C_MOBAPlayer::Precache()
{
uint32_t uIndex = g_pAssetManager->LoadModel("game/core/models/cube.fmdl");
V_printf("%u\n", uIndex);
pModel = g_pAssetManager->GetModelByIndex(uIndex);
}
void C_MOBAPlayer::Spawn()
{
Precache();
SetThink(Think);
};
void C_MOBAPlayer::Think( float fDelta )
{
};
LINK_ENTITY_TO_CLASS(player, C_MOBAPlayer)