Team Management Utility Functions


Functions

float snap_misc_pickrndteam (float notmyteam)

Function Documentation

float snap_misc_pickrndteam ( float  notmyteam  ) 

Returns a float that is the number of a random team. If notmyteam is true, it picks from the remaining teams. (That MUST be called by a player.)

Parameters:
notmyteam set if player only
Returns:
(random team number)
This is used when kicking bots and adding bots (by clients).

Definition at line 645 of file misc.mqc.

References snap_misc_numforteamname().

Referenced by agh_weapons_impulsecommands().


Generated on Tue Jan 1 17:55:54 2008 for AudioQuake QuakeC by  doxygen 1.5.4