Added ns_get_user_team for a replacement for get_user_team.
This commit is contained in:
@ -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.
|
||||
*
|
||||
|
Reference in New Issue
Block a user