[FilterScript] DayOrNight | Simple Time Changer | Based on votes - 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: Filterscripts (
https://sampforum.blast.hk/forumdisplay.php?fid=17)
+--- Thread: [FilterScript] DayOrNight | Simple Time Changer | Based on votes (
/showthread.php?tid=511415)
DayOrNight | Simple Time Changer | Based on votes -
SyntaxQ - 05.05.2014
» Introduction
This is a very small filterscript, which helps to set the time according to the players vote. After setup, a GameText will appear
'Day Or Night?', the players will type their vote, the votes will be counted, the result will be shown and the time will be changed according to the result. If both the votes are equal, the time will not change.
The script ignores caps and multiple votes. Also you cannot add any word with the your vote like
'day pls', it will ignore your vote.
» Script Config
pawn Код:
// Time in milliseconds..
#define START_TIME 60000 // After how many milliseconds the question will be asked..
#define END_TIME 30000 // After how many milliseconds the results will appear / how much time players get to vote.
» Screenshots
» Download
PasteBin - Click to open
Please report any bugs or problems on this thread.
Re: DayOrNight | Simple Time Changer | Based on votes -
Aasim - 05.05.2014
Nice work bro!!
you're pro
Re: DayOrNight | Simple Time Changer | Based on votes -
VladimirMark - 05.05.2014
But why you did it with vote O_o bit strange but awesome idea
Good job