small fix to check if a dedicated server
Code:
void CUBBOT_Plugin::ClientActive (edict_t *pEntity)
{
if (!engine->IsDedicatedServer () && pHostEdict == NULL)
{
Msg ("PLUGIN: Host edict found and set\n");
pHostEdict = pEntity;
}
}
has any one found out how to show menu`s yet?
edit few engine notes.
-- class CBasePlayer pBot->pPlayerEnt --
pPlayerEnt->MaxSpeed (); // max speed
pPlayerEnt->IsSuitEquipped (); // armor equipped
pPlayerEnt->ArmorValue (); // armor amount
pPlayerEnt->GetFOV (); & pPlayerEnt->GetDefaultFOV (); // get current, default fov
-- CBaseEntity class pBot->pBaseEntity ---
pBaseEntity->GetMaxHealth (); // max health
pBaseEntity->GetHealth (); // current health
pBaseEntity->GetTeamNumber (); // current team
pBaseEntity->TeamID (); // current team`s name
// CS:S : 1 = Spectator, 2 = Terrorist, 3 = Counter-Terrorist
pBaseEntity->InSameTeam (pBaseEnemy); // is client on the same team
enjoy Dubb
