Skocz do zawartości

Witamy w Nieoficjalnym polskim support'cie AMX Mod X

Witamy w Nieoficjalnym polskim support'cie AMX Mod X, jak w większości społeczności internetowych musisz się zarejestrować aby móc odpowiadać lub zakładać nowe tematy, ale nie bój się to jest prosty proces w którym wymagamy minimalnych informacji.
  • Rozpoczynaj nowe tematy i odpowiedaj na inne
  • Zapisz się do tematów i for, aby otrzymywać automatyczne uaktualnienia
  • Dodawaj wydarzenia do kalendarza społecznościowego
  • Stwórz swój własny profil i zdobywaj nowych znajomych
  • Zdobywaj nowe doświadczenia

Dołączona grafika Dołączona grafika

Guest Message by DevFuse
 

Zdjęcie

[Any] Polling (v0.1, 1/31/2017)


  • Nie możesz napisać tematu
  • Zaloguj się, aby dodać odpowiedź
Brak odpowiedzi do tego tematu

#1 Adminek AMXX.PL

    Admin :)

  • Bot

Reputacja: 156
Profesjonalista

  • Postów:7 492
  • Lokalizacja:AMXX.PL
Offline

Napisano 31.01.2017 04:45

<div>A simple polling system using SQLite.<br />You can add options, delete options and vote options.<br />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.<br /><br /><b>Admin Commands </b><br />sm_addoption/sm_createpolloption I'd like to see skins<br />sm_deleteoption/sm_deletepolloption Opens panel with options, the selected one will be deleted WITH NO CONFIRMATION, so be extra careful<br /><br /><b>User commands </b><br /><b>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.</b><br />sm_poll<br />sm_results<br /><br />Just drop polling.smx in addons/plugins.<br /><br />The only configuration needed is adding this to /configs/databases.cfg<br /><br /><div style="margin:20px; margin-top:5px">
<div class="smallfont" style="margin-bottom:2px">HTML Code:</div>
<hr /><code style="margin:0px" dir="ltr" style="text-align:left">&quot;polling&quot; {<br />&nbsp; &nbsp; &quot;driver&quot; &quot;sqlite&quot;<br />&nbsp; &nbsp; &quot;host&quot; &quot;localhost&quot;<br />&nbsp; &nbsp; &quot;database&quot; &quot;polling-sqlite&quot;<br />&nbsp; &nbsp; &quot;user&quot; &quot;root&quot;<br />&nbsp; &nbsp; &quot;pass&quot; &quot;&quot;<br />}</code><hr />
</div>Feel free to pull request at <a href="https://github.com/alerad/sm-polling"target="_blank">https://github.com/a...lling</a></div>


<br /> <div style="padding:6px">








<fieldset class="fieldset">
<legend>Attached Files</legend>
<table cellpadding="0" cellspacing="3" border="0">
<tr>
<td><img class="inlineimg" src="https://forums.allie...attach/smx.gif"alt="File Type: smx" width="16" height="16" border="0" style="vertical-align:baseline" /></td>
<td>


<a href="https://forums.allie...polling.smx</a>(20.8 KB)


</td>
</tr><tr>
<td><img class="inlineimg" src="https://forums.allie...attach/zip.gif"alt="File Type: zip" width="16" height="16" border="0" style="vertical-align:baseline" /></td>
<td>


<a href="https://forums.allie...polling.zip</a>(70.8 KB)


</td>
</tr>
</table>
</fieldset>


</div>

Wyświetl pełny artykuł




Użytkownicy przeglądający ten temat: 0

0 użytkowników, 0 gości, 0 anonimowych