PHP Code:
public start_countdown()
{
say_time_remaining( cup_start_countdown )
cup_start_countdown--
if( cup_start_countdown <= 0 )
{
client_print(0,print_chat,"[%s] Jump Cup has been started!", jc_pluginname )
set_cvar_string( "kz_checkpoints", "0")
set_cvar_string( "amx_pausecfg pause", "prokreedz_hook")
remove_task(8638458)
new players[32], num;
get_players(players, num, "ach", "");
for( new i = 0; i < num; i++ )
{
set_pev(players[i], pev_flags, pev(players[i], pev_flags) & ~FL_FROZEN);
}
set_task(1.0,"time_remaining",8638459,"",0,"b")
}
}
The problem is, i want to change so it doesnt use FL_FROZEN, but just sets server cl_sidespeed cl_forwardspeed and cl_backspeed to 0, and when the countdown ends it will set cl_sidespeed cl_forwardspeed and cl_backspeed back to 400.
__________________