SA-MP Forums Archive
Timer Help, please. - 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: Timer Help, please. (/showthread.php?tid=63915)



Timer Help, please. - hazdog - 01.02.2009

well im making a deathmatch, and i need a timer to end the game

A) after 10 minutes,
B) with a (team) winner.

i've had experience with using timers to end the game ect, but no idea how to do this.


thanks,


hazdog


Re: Timer Help, please. - Backwardsman97 - 01.02.2009

Just use SetTimer, and when the timer goes off, end the game with SendRconCommand or something.


Re: Timer Help, please. - hazdog - 01.02.2009

oke, but how do i come out with a team that wins?


Re: Timer Help, please. - Dragan - 01.02.2009

So it's DM.

Make on player death +1 kill to team in which killer is.
At end ...check which team has more kill points.


Re: Timer Help, please. - hazdog - 01.02.2009

thanks very much DRAGON