Added ns_get_user_team for a replacement for get_user_team.

This commit is contained in:
Steve Dudenhoeffer
2007-08-03 02:57:59 +00:00
parent 7038305812
commit e254ef6b15
2 changed files with 78 additions and 0 deletions

View File

@ -64,6 +64,16 @@ native ns_is_combat();
*/
native NSGameplay:ns_get_gameplay();
/**
* Exact syntax as get_user_team, but should be more accurate.
*
* @param id Player id.
* @param buff Buffer to store team name in.
* @param len Buffer length.
* @return The pev_team setting for the player.
*/
native ns_get_user_team(id, buff[], len);
/**
* Send an NS-style popup message.
*