Jump to content
GIGN Forum

Dust2land


Recommended Posts

īsti nesaprotu tu gribi lai karte visu laiku restartējas ? nesaprotu jēgu.. nu tad jau visu laiku būs viena karte, vnk uzliec map cycle vienu mapi un viss, vari iztikt bez restarta

Edited by 0.7lb
Link to comment
Share on other sites

#include <amxmodx>

#define SECS 5.0

public plugin_init() {register_plugin("RR before Mapchange","0.7","Sh!nE*");set_task(1.0,"set_timer");}

public set_timer() set_task(((float(get_cvar_num("mp_timelimit")) * 60.0)-(SECS+1.0)),"restart_it")

public restart_it() server_cmd("sv_restart 1")

Pamaini SECS savaam vajadziibaam. Tas ir pirms cik sekundeem no timelimit bus restarts. Neieteiku uzlikt mazak par 2 :)

Link to comment
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
 Share

×
×
  • Create New...