コード例 #1
0
void ASW_ActivateExtra_f()
{
	C_ASW_Player *pPlayer = C_ASW_Player::GetLocalASWPlayer();

	if (pPlayer && pPlayer->GetMarine())
	{
		pPlayer->ActivateInventoryItem(2);
	}
}
コード例 #2
0
void ASW_ActivateSecondary_f()
{
	C_ASW_Player *pPlayer = C_ASW_Player::GetLocalASWPlayer();

	if (pPlayer && pPlayer->GetMarine())
	{
		pPlayer->ActivateInventoryItem(1);
	}
}