View Single Post
Re: a very simple mod for CS
Old
  (#9)
Zacker
Project Leader, Lead Level Designer, Waypointer
 
Status: Offline
Posts: 337
Join Date: Mar 2004
Location: Denmark
Default Re: a very simple mod for CS - 17-11-2004

I dont think I understand exactly what it is you want:/

Do you want a serverside mod for CS like WC3, Diablo, etc. Or a whole new mod?

Weapons can be stripped away with this:
Quote:
pPlayer->RemoveAllItems( TRUE )
Targetting entities is done with
Quote:
FireTargets(const char *targetName, CBaseEntity *pActivator, CBaseEntity *pCaller, USE_TYPE useType, float value )
I think it should look something like this:
Quote:
FireTargets( "game_timerstart", pActivator, pActivator, USE_TOGGLE, 0 );
  
Reply With Quote