ns_add_teamres

Синтаксис

native Float:ns_add_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 add to the pool

Описание

Adds to 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.

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

The new amount of resources in the resource pool.