29.06.2014, 20:11
I don't know what "Secound" is but anyways, I bet you $500 that you can't make this in 2 seconds.
-----------------------------------------
Anyways, you only need 1 timer.
-----------------------------------------
Anyways, you only need 1 timer.
pawn Код:
public OnFilterScriptInit(){
SetTimer("mapname", 1000, 1);
return 1;
}
new mapcount;
forward mapname();
public mapname(){
switch(mapcount){
case 0: SendRconCommand("mapname MAP_1");
case 1: SendRconCommand("mapname MAP_2");
case 2: SendRconCommand("mapname MAP_3");
case 3: SendRconCommand("mapname MAP_4");}
mapcount++;
if(mapcount > 3) mapcount = 0;
}