I took the latest version from Sourcemod:
sourcemod-1.11.0
I took the
mapchooser.sp from it and im trying to add a simple countdown.
I want a 5 second countdown to be printed in chat regarding this function:
Code:
// Specifies when to start the vote based on time remaining.
// -
// Default: "3.0"
// Minimum: "1.000000"
sm_mapvote_start "4.0"
its kinda like an warning to the players that are on the server..
in this case i want after as soon !timeleft is 4 on the current round
it starts a countdown from 5 seconds into the
chat from 5-0 seconds and afterwards directly votemap
Example:
https://gfycat.com/polishedexaltedbarasingha
on my example i suscessfully did it but for some reason as soon players are joining the server it just dont work anymore.. and if the players are leaving the server it just works again..
while its not working i do not get any error messages..
on the mapchooser_with_warning.sp i have edited line: 370-404 its on the attachments
can please someone help me on this?
im about to freak out..
Thank you in advance..
I kindly ask you not to recommend me a mapchooser extended or any others that is not officially scripted by Alliedmodders.