RSSy MYGO.pl Opublikowano Styczeń 31, 2017 o 03:45 RSSy Udostępnij Opublikowano Styczeń 31, 2017 o 03:45 A simple polling system using SQLite. You can add options, delete options and vote options. When players connect, if they haven't voted on the poll they'll be prompted with a voting screen. Useful to know what your players want.Admin Commands sm_addoption/sm_createpolloption I'd like to see skins sm_deleteoption/sm_deletepolloption Opens panel with options, the selected one will be deleted WITH NO CONFIRMATION, so be extra carefulUser commands Both do the same, they open a panel with all the options, ordered from most votes to less votes and showing the percentage of votes for each option. sm_poll sm_results Just drop polling.smx in addons/plugins. The only configuration needed is adding this to /configs/databases.cfg HTML Code: "polling" { "driver" "sqlite" "host" "localhost" "database" "polling-sqlite" "user" "root" "pass" "" } Feel free to pull request at https://github.com/alerad/sm-polling Attached Files polling.smx (20.8 KB) polling.zip (70.8 KB) Wyświetl pełny artykuł Odnośnik do komentarza Udostępnij na innych stronach Więcej opcji udostępniania...
Rekomendowane odpowiedzi
Jeśli chcesz dodać odpowiedź, zaloguj się lub zarejestruj nowe konto
Jedynie zarejestrowani użytkownicy mogą komentować zawartość tej strony.
Zarejestruj nowe konto
Załóż nowe konto. To bardzo proste!
Zarejestruj sięZaloguj się
Posiadasz już konto? Zaloguj się poniżej.
Zaloguj się