PDA

View Full Version : Timeleft variable as (float) (Time remaining-script)


Muckie
05-24-2005, 10:01
hi,
I needs a Timeleft variable as (float) in seconds for my remaining script
in order to indicate, when the map is to end.

The es_gettime in the eventscript to convert in just time is to involved and not exact for my task.

Or is it possible with current instructions a written remaining-script ?
This script should to detect when the timeleft have to extended

My current script read the mp_timelimit variable multi with 60
and then I use the instruction es_delay to calculate my timeleft and I write a message and play sound that the map reaming in 5Min for example.
My Script can't recognize, if the time extends.

best regards
Muckie