void AddNetworkPlayer(char * szParams)
{
	// Get our player manager
	CPlayerManager * pPlayerManager = g_pClient->GetPlayerManager();

	EntityId playerId = -1;
	for(EntityId i = 0; i < MAX_PLAYERS; i++) {
		if(!pPlayerManager->DoesExist(i)) {
			playerId = i;
			break;
		}
	}

	if(playerId != -1) {
		// Add the player to the player manager
		pPlayerManager->Add(playerId, "IV:MP NetworkPlayer");
		if(pPlayerManager->DoesExist(playerId)) {
			CVector3 vecPos; g_pClient->GetLocalPlayer()->GetPosition(vecPos);
			pPlayerManager->GetAt(playerId)->SetColor((unsigned int)0xFFFFFFAA);
			pPlayerManager->GetAt(playerId)->SetPosition(vecPos);
			pPlayerManager->GetAt(playerId)->SetModel(7);
			g_pClient->GetChatWindow()->AddInfoMessage("Networkplayer Added");
		}
	}
	else
		g_pClient->GetChatWindow()->AddInfoMessage("Couldn't find free player slot..");
}
void AddPlayerCommand(char * szParams)
{
	// Get our player manager
	CPlayerManager * pPlayerManager = g_pClient->GetPlayerManager();

	int playerId = 0;
	sscanf(szParams, "%d", &playerId);
	pPlayerManager->Add(playerId, "jenkstax");
	pPlayerManager->Spawn(playerId, 35, CVector3(-341.36f, 1144.80f, 14.79f), 40.114815f);
}