Thread: limiting humans
View Single Post
Re: limiting humans
Old
  (#12)
botmeister
Ex-Council Member
 
botmeister's Avatar
 
Status: Offline
Posts: 1,090
Join Date: Nov 2003
Location: Canada
Default Re: limiting humans - 07-01-2004

Quote:
Originally Posted by Austin
Do you have an example of how I would send a console message to a specific client before kicking them?
Use the engine function

pfnClientPrintf( edict_t* pEdict, PRINT_TYPE ptype, const char *szMsg );

for ptype pass the enumerated type constant "print_console"

Eaxmple
pfnClientPrintf( edict_of_player_to_kick, print_console, "you have been kicked" );

In CS 1.5 they will see the message in their console after being kicked.


Maker of the (mEAn) Bot.Admin Manager

"In theory, there is no difference between theory and practice. But, in practice, there is." - Jan L.A. van de Snepscheut
  
Reply With Quote