case 2: // Unstuck
{
// Check if player is stuck
if (g_isalive[id])
{
if (is_player_stuck(id))
{
// Move to an initial spawn
if (get_pcvar_num(cvar_randspawn))
do_random_spawn(id) // random spawn (including CSDM)
else
do_random_spawn(id, 1) // regular spawn
}
else
zp_colored_print(id, "^x04[ZP]^x01 %L", id, "CMD_NOT_STUCK")
}
else
zp_colored_print(id, "^x04[ZP]^x01 %L", id, "CMD_NOT")
}Добавлено (14.10.2012, 21:13)
---------------------------------------------
Nitro, Ну возьми код