Hello.
I need a calculation of elapsed map time (float vaule). There are no timelimit (mp_timelimit "0") on server (gungame), we can't use [mp_timelimit - timeleft]. How i can get him?
PHP Code:
#include <amxmodx>
#include <amxmisc>
#define PLUGIN "New Plug-In"
#define VERSION "1.0"
#define AUTHOR "author"
new Float:ElTime
public plugin_init() {
register_plugin(PLUGIN, VERSION, AUTHOR)
register_clcmd("say /elapsed", elapsed)
}
public elapsed (id)
{
...
..
cleint_print(id, print_chat, "%f elapsed from map bedinning",ElTime)
}
__________________