<div><font face="Impact"><div align="center"><font size="6">[ANY] Player Reputations</font></div></font><br /><div align="center"><font size="2"><i>v1.0.0</i></font></div><br /><b><font size="4">Description:</font></b><br /><br />This plugin allows players to rate each other creating a system of reputation.<br />Originally meant to be used as a reputation system for trade servers to show who are regular sellers/buyers.<br />I decided to release this because I haven't done much in terms of public plugins so I want to release some stuff and more are coming soon :)<br /><br />Hasn't really had extensive testing so any bug testers are welcome and appreciated.<br /><br />Been working on a custom web page to display reputations and I'll most likely release that later if there is a want for one.<br />Meanwhile: <a href="http://arcticgaming....eputations.php"target="_blank">http://arcticgaming....ions.php</a><br /><br /><b><font size="4">Commands:</font></b><ul><li><b>sm_rep <client></b> - Displays a client's reputation</li>
<li><b>sm_updaterep <client> [amount] <reason></b> - Updates a reputation to a client</li>
<li><b>sm_addrep <client> [amount] <reason></b> - Adds reputation to a client</li>
</ul><br /><b><font size="4">Admin Commands:</font></b><ul><li><b>sm_clearrep <client></b> - Clears a client's reputation (Root Admin by default)</li>
</ul><br /><b><font size="4">Cvars:</font></b><ul><li><b>sm_can_multiple_rep (0)</b> - If enabled (1) then users are allowed to give multiple ratings to the same user</li>
<li><b>sm_can_update_rep (1)</b> - If enabled (1) then users are allowed to update previous ratings to a user (Only works with sm_can_multiple_rep set to 0)</li>
<li><b>sm_min_rep (-10)</b> - Lowest rating amount a player can give (Must be lower than sm_max_rep)</li>
<li><b>sm_max_rep (10)</b> - Highest rating amount a player can give (Must be higher than sm_min_rep)</li>
<li><b>sm_chat_prefix (1)</b> - If enabled (1) then a chat prefix will be shown with rep amount (Will change method later)</li>
<li><b>sm_connect_announce (1)</b> - If enabled (1) then an announcement with rep amount will be shown on client connect</li>
<li><b>sm_rep_reasons (1)</b> - If enabled (1) then reasons can be used in ratings</li>
</ul><br /><b><font size="4">API:</font></b><br /><br />Not much for now but you can grab a player's reputation count<br /><div style="margin:20px; margin-top:5px">
<div class="smallfont" style="margin-bottom:2px">Code:</div>
<hr /><code style="margin:0px" dir="ltr" style="text-align:left">/**<br /> * Gets a client's reputation<br /> *<br /> * @param client Client index.<br /> * @return Returns reputation amount<br /> *<br /> * @error Invalid client<br /> */<br />native Reputation_GetRep(int client);</code><hr />
</div><b><font size="4">Installation:</font></b><br /><br />This plugin requires a MySQL database. It will look for a configuration named "reputation". Example:<br /><div style="margin:20px; margin-top:5px">
<div class="smallfont" style="margin-bottom:2px">Code:</div>
<hr /><code style="margin:0px" dir="ltr" style="text-align:left"> "reputation"<br /> {<br /> "driver" "mysql"<br /> "host" "example.com"<br /> "database" "example_database"<br /> "user" "exampleuser"<br /> "pass" "examplepassword"<br /> //"timeout" "0"<br /> "port" "3306"<br /> }</code><hr />
</div><b><font size="4">Changelog:</font></b><br /><br /><div style="margin:20px; margin-top:5px">
<div class="smallfont" style="margin-bottom:2px">Code:</div>
<hr /><code style="margin:0px" dir="ltr" style="text-align:left">v1.0.0 - Initial Release</code><hr />
</div><b><font size="4">Credits:</font></b><br /><br />Mathiaas - Bug Testing<br />August- Annoying me non-stop<br />Anyone I forgot I am sorry, please let me now<br /><br /><b><font size="4">Download:</font></b></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/inc.gif"alt="File Type: inc" width="16" height="16" border="0" style="vertical-align:baseline" /></td>
<td>
<a href="https://forums.allie...utation.inc</a>(275 Bytes)
</td>
</tr><tr>
<td><img class="inlineimg" src="https://forums.allie...attach/inc.gif"alt="File Type: inc" width="16" height="16" border="0" style="vertical-align:baseline" /></td>
<td>
<a href="https://forums.allie...rs_csgo.inc</a>(15.5 KB)
</td>
</tr><tr>
<td><img class="inlineimg" src="https://forums.allie.../attach/sp.gif"alt="File Type: sp" width="16" height="16" border="0" style="vertical-align:baseline" /></td>
<td>
<a href="http://www.sourcemod...24"><strong>GetPlugin</strong></a> or
<a href="https://forums.allie...1460789001">GetSource</a> (reputation.sp - 17.3 KB)
</td>
</tr>
</table>
</fieldset>
</div>
Wyświetl pełny artykuł
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.
|
Guest Message by DevFuse

[ANY] Player Reputations v1.0.0
Temat rozp. Adminek AMXX.PL, 16.04.2016 07:22
Brak odpowiedzi do tego tematu
Użytkownicy przeglądający ten temat: 0
0 użytkowników, 0 gości, 0 anonimowych