Пример #1
0
static void Cmd_Kami_f (gentity_t *ent)
{
	if (!g_cheats.integer) {
		trap_SendServerCommand(ent-g_entities, va("print \"Cheats are not enabled on this server.\n\""));
		return;
	}

	G_StartKamikaze(ent);
}
Пример #2
0
/*
==================
Kamikaze_DeathActivate
==================
*/
void Kamikaze_DeathActivate( gentity_t *ent ) {
	G_StartKamikaze(ent);
	G_FreeEntity(ent);
}