http://forums.alliedmods.net/showthread.php?t=114979
PHP Code:
/**
* Spawn the specified zombie boss
*
* @param client Client index.
* @param Class Class of boss (see constants ZC_ in top of this file)
* @param bGhost True = spawned as ghost, False= spawned as alived..
* @param bGhostFinale True = spawned as ghost in finale, False= spawned as alived.in finale
* @param bAuto Use director auto position? True = use, False = spawn in eye direction (if param Origin not set)
* @param Origin Set position new zombie
* @param Angles Set angles new zombie
* @param Velocity Set velocitys new zombie
* @return True if successfully spawn, false otherwise.
* @error Invalid handle, or bounds error.
* Invalid infected class
* Client is alive
* Client is not in game
* Client is not infected team
* Can't get open config file (gamedata\InfectedAPI.txt) (FAILSTATE FOR PLUGIN)
* Can't get offsets (FAILSTATE FOR PLUGIN)
*/
stock SpawnInfectedBoss(any:client, any:Class, bool:bGhost=false, bool:bAuto=true, bool:bGhostFinale=false ,const Float:Origin[3]={0.0,0.0,0.0},const Float:Angles[3]={0.0,0.0,0.0},const Float:Velocity[3]={0.0,0.0,0.0})