Index
Bot library
trap_BotAllocateClient
Description
Access for bots to get and free a server client.
Prototype
int
trap_BotAllocateClient
(
void
)
;
Parameters
This function has no parameters.
Remarks
Also marks the client as bot in the engine (arg2 will be 1 when a GAME_CLIENT_CONNECT message is dispatched to vmMain for this client).
Return value
Returns the client number or -1 on failure.
See also
Author(s)
ntba2
QuakeIII trap calls reference