<div><b><u>Description:<br /></u></b>This plugin is saving player headshots in database. You can use it for making some events on your community.Plugin is in the new syntax and with translations. I can add some other cvars if you need.<b><u><br /><br />Required:<br /></u></b>-MySQL connection<b>Commands:</b><b>sm_myhs</b> - it shows your count of headshots<b><u><br />Cvars:<br /></u>sm_hsevent_on 1 - </b>on/off the plugin<b>sm_hsevent_info_after_kill 1 - </b>display info to client about new headshot after kill<b>sm_hsevent_savetime 300.0 - </b>as much time save headshots in database<b>sm_hsevent_minplayers 2 - </b>Amount of players who must be in the server to count headshots<b>sm_hsevent_advert 1 - </b>on/off advert about event<b>sm_hsevent_time_advert 360.0 -</b><u>time in float between adverts</u>Installing:<br />Put the files on the server and add to <b>/addons/sourcemod/configs/databases.cfg </b>new config:<br /><div style="margin:20px; margin-top:5px">
<div class="smallfont" style="margin-bottom:2px">PHP Code:</div>
<div class="alt2">
<hr />
<code style="white-space:nowrap">
<div dir="ltr" style="text-align:left;">
<!-- php buffer start --><code><span style="color: #000000">
<span style="color: #0000BB"> </span><span style="color: #DD0000">"hsevent"<br /> </span><span style="color: #007700">{<br /> </span><span style="color: #DD0000">"driver" "mysql"<br /> "host" "address"<br /> "database" "name of database"<br /> "user" "login"<br /> "pass" "password"<br /> </span><span style="color: #007700">}
<br /></span><span style="color: #0000BB"></span>
</span>
</code><!-- php buffer end -->
</div>
</code>
<hr />
</div>
</div>Additionally I'm sharing a website with statistics, you can see example on: <a href="http://event.max-play.pl/"target="_blank">http://event.max-pla...play.pl/</a><br /><br /></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/zip.gif"alt="File Type: zip" width="16" height="16" border="0" style="vertical-align:baseline" /></td>
<td>
<a href="https://forums.allie...0360683">pluginfiles.zip</a> (14.9 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...website.zip</a>(56.0 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...52"><strong>GetPlugin</strong></a> or
<a href="https://forums.allie...1480360683">GetSource</a> (headshot_event.sp - 6.8 KB)
</td>
</tr><tr>
<td><img class="inlineimg" src="https://forums.allie...attach/txt.gif"alt="File Type: txt" width="16" height="16" border="0" style="vertical-align:baseline" /></td>
<td>
<a href="https://forums.allie...phrases.txt</a>(1,012 Bytes)
</td>
</tr><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...t_event.smx</a>(11.2 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

HeadShot Event!
Temat rozp. Adminek AMXX.PL, 28.11.2016 20:19
Brak odpowiedzi do tego tematu
Użytkownicy przeglądający ten temat: 0
0 użytkowników, 0 gości, 0 anonimowych