Update CstrikeNatives.cpp

This commit is contained in:
Iván Lo Giudice 2015-08-22 17:54:00 -03:00
parent f95f2032fc
commit e4b635f5be

View File

@ -534,7 +534,10 @@ static cell AMX_NATIVE_CALL cs_set_user_team(AMX *amx, cell *params)
set_pdata<int>(pPlayer, m_iModelName, model); set_pdata<int>(pPlayer, m_iModelName, model);
} }
if (model >= 0)
{
Players[index].ResetModel(pPlayer); Players[index].ResetModel(pPlayer);
}
bool sendTeamInfo = true; bool sendTeamInfo = true;