Денис Александрович
Участник
- Сообщения
- 48
- Реакции
- 1
Суть проблемы:
Есть код:
Есть ошибка, на которой цикл прерывается и кто-то в броне.
Не пойму, что ему надо?
Есть код:
C-подобный:
public Event_RoundStart(Handle:event, const String:name[], bool:dontBroadcast)
{
for ( new i = 1; i <= MaxClients; ++i )
{
if ( IsPlayerAlive( i ) && !IsFakeClient( i ))
{
SetEntProp(i, Prop_Send, "m_iArmorValue", 0);
}
}
return bool:Plugin_Continue;
}
Есть ошибка, на которой цикл прерывается и кто-то в броне.
C-подобный:
[SM] Native "SetEntProp" reported: Property "m_iArmorValue" not found (entity 2/player)
Не пойму, что ему надо?