Otwieramy zombie_plague40
Szukamy:
len += formatex(menu[len], charsmax(menu) - len, "\d6. %L^n^n", id, "MENU_SPECTATOR")
Pod tym dajemy np:
// 7. opis klas ludzi
len += formatex(menu[len], charsmax(menu) - len, "\r7.\w \rOpis Klas Ludzi^n^n")
Potem szukamy
}
case 5: // Join Spectator
{
// Player alive?
if (g_isalive[id])
{
// Prevent abuse by non-admins if block suicide setting is enabled
if (get_pcvar_num(cvar_blocksuicide) && !(get_user_flags(id) & g_access_flag[ACCESS_ADMIN_MENU]))
{
zp_colored_print(id, "^x04[ZP]^x01 %L", id, "CMD_NOT")
return PLUGIN_HANDLED;
}
// Check that we still have both humans and zombies to keep the round going
check_round(id)
// Kill him before he switches team
dllfunc(DLLFunc_ClientKill, id)
}
// Temporarily save player stats?
if (get_pcvar_num(cvar_statssave)) save_stats(id)
// Remove previous tasks
remove_task(id+TASK_TEAM)
remove_task(id+TASK_MODEL)
remove_task(id+TASK_FLASH)
remove_task(id+TASK_CHARGE)
remove_task(id+TASK_SPAWN)
remove_task(id+TASK_BLOOD)
remove_task(id+TASK_AURA)
remove_task(id+TASK_BURN)
// Then move him to the spectator team
fm_cs_set_user_team(id, FM_CS_TEAM_SPECTATOR)
fm_user_team_update(id)
Pod tym dodajemy
case 6:
{
client_cmd(id, "say /klasy") /// Opis klas ludzi
}
Tutaj macie pokazane jak to wygląda
Screeny:

Użytkownik benio101 edytował ten post 20.07.2012 14:26
Usunięcie linku trzykrotnie powtórzonego, zastępując go SSem ze źródła, do którego linki prowadziły.