- 01
- 02
- 03
- 04
- 05
- 06
- 07
- 08
- 09
- 10
- 11
- 12
- 13
- 14
- 15
- 16
- 17
- 18
- 19
- 20
- 21
- 22
- 23
if (other && other->client && other->s.number < MAX_CLIENTS)
{//player touched me
/*
char *text;
qboolean keyTaken;
//give him my key
...
*/
//rwwFIXMEFIXME: support for goodie/security keys?
/*
if ( keyTaken )
{//remove my key
NPC_SetSurfaceOnOff( self, "l_arm_key", 0x00000002 );
self->message = NULL;
//FIXME: temp pickup sound
G_Sound( player, G_SoundIndex( "sound/weapons/key_pkup.wav" ) );
//FIXME: need some event to pass to cgame for sound/graphic/message?
}
//FIXME: temp message
gi.SendServerCommand( NULL, text );
*/
}
FIXMEFIXMEFIXME... Да ну нахуй, лучше все закомментим.