ns_set_teamres

Синтаксис

native ns_set_teamres(Team, Float:value);

Употреба

Team
1 for teama, 2 for teamb. (eg: in MvA maps, 1 is marines,
2 is aliens.  In mvm, 1 is marine1, 2 is marine2)
value
The amount to set the resources to set to.

Описание

Sets the team's resources in the resource pool.

Забележка

If this is used on an alien team, the resources will be
distributed between all of the players who need resources.

Връщаща стойност

Тази функция няма връщаща стойност.