AMX Mod X API Documentation

Signature
native ns_set_teamres(Team, Float:value);
Description

Sets the team's resources in the resource pool.

Notes
  • If this is used on an alien team, the resources will be

    distributed between all of the players who need resources.

Parameters
  • 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.
No return value
Назад
Верх