ns_set_teamres
Syntax
native ns_set_teamres(Team, Float:value);
Usage
| Parameter | Description |
|---|---|
| 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. |
Description
Sets the team's resources in the resource pool.
Note
If this is used on an alien team, the resources will be distributed between all of the players who need resources.
Return
This function has no return value.