SA-MP Forums Archive
Setimer then rcon command gmx?? - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+---- Forum: Help Archive (https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: Setimer then rcon command gmx?? (/showthread.php?tid=84678)



Setimer then rcon command gmx?? - gpclan - 02.07.2009

ok heres my problem i have my timer

SetTimer("OVER", 600000, 0);

and i want when that timer end i want it to change gamemode how i get confsued help



Re: confused about this-.- - Andom - 02.07.2009

I don't know how to get confused..


Re: Setimer then rcon command gmx?? - refshal - 02.07.2009

Use:

pawn Код:
GameModeExit();



Re: Setimer then rcon command gmx?? - BMUK - 02.07.2009

Wouldnt SendRconCommand("gmx"); be fine in the timer?


Re: Setimer then rcon command gmx?? - saiberfun - 02.07.2009

pawn Код:
//OntopOfScript
forward OVER;
//OnFilterScriptInit
SetTimer("OVER", 600000, 0);

//Somewhere in Script
public OVER
{
GameModeExit();
return 1;
}