mirror of
https://github.com/Resxt/Plutonium-T6-Scripts.git
synced 2025-07-04 10:11:50 +00:00
mapvote 2.1.0
Made it possible to have a default randomized map and mode from a user defined list when the human players count is between two values defined by the user Added dvar mapvote_default_rotation_maps Added dvar mapvote_default_rotation_modes (MP only) Added dvar mapvote_default_rotation_min_players Added dvar mapvote_default_rotation_max_players
This commit is contained in:
@ -14,19 +14,19 @@ OnKillcamEnd()
|
||||
{
|
||||
if (isRoundBased() && !wasLastRound())
|
||||
return false;
|
||||
wait GetDvarInt("mapvote_display_wait_time");
|
||||
|
||||
[[level.mapvote_start_function]]();
|
||||
[[level.mapvote_end_function]]();
|
||||
wait GetDvarInt("mapvote_display_wait_time");
|
||||
[[level.mapvote_rotate_function]]();
|
||||
|
||||
return false;
|
||||
}
|
||||
|
||||
level waittill("final_killcam_done");
|
||||
if (isRoundBased() && !wasLastRound())
|
||||
return true;
|
||||
wait GetDvarInt("mapvote_display_wait_time");
|
||||
|
||||
[[level.mapvote_start_function]]();
|
||||
[[level.mapvote_end_function]]();
|
||||
wait GetDvarInt("mapvote_display_wait_time");
|
||||
[[level.mapvote_rotate_function]]();
|
||||
|
||||
return true;
|
||||
}
|
Reference in New Issue
Block a user