←  [RSS] Pluginy

AMXX.pl: Support AMX Mod X i SourceMod

»

HP & Armor from *.ini file

Adminek AMXX.PL - zdjęcie Adminek AMXX.PL 30.08.2014

<!-- BEGIN TEMPLATE: postbit_external -->
<div>Simillar plugin requested here: <a href="https://forums.allie...ad.php?t=247194" target="_blank">https://forums.allie...t=247194</a><br /><br />First to say, I didn't find similar plugin already made, so I decided to release that one. If there is already existing plugin such as this one, please excuse me and unapprove this (if not better).<br /><br /><font size="4"><font color="red"><b>.: Description :.</b></font></font><br />With this plugin you can set custom HP and Armor, which current player will receive on each spawn. All the plugin data is loaded from .ini file, which is supposed to be in your configs folder.<br />The player will see a chat message so he could know what he has received as a bonus. There are also some log messages to inform the owner of the server.<br /><br /><font size="4"><font color="red"><b>.: Configuration :.</b></font></font><br />The plugin configuration isn't that hard at all. You just need to follow the steps:<br />- Create new .ini file in your configs folder and name it PlayersHP.ini. The directory should look like this: addons/amxmodx/configs/PlayersHP.ini<br />- On each new line of the file there should be the following data, separated in this way: <br />&quot;SteamID&quot; &quot;HP&quot; &quot;Armor&quot;<br />Example: <br />&quot;MyExampleSteamID&quot; &quot;150&quot; &quot;101&quot;<br />By adding this line in the file, the player with steamid &quot;MyExampleSteamID&quot; receive 150 HP and 101 Armor on each spawn.<br />- If you don't want the player to receive any different HP or Armor, just leave the relevant string empty, in this way - &quot;&quot;<br />- If one of the parts (for HP or Armor) is not a nubmer, the plugin will pass the line and the player won't get anything.<br />- If the *.ini file is not in the directory, the plugin won't function at all.<br /><br /><br /><br />There aren't any commands, cvars or any other way to change something during in-game. All the plugin is configurated from the *.ini file and therefore from the server owner.<br />Waiting for comments, replies and ideas!</div>


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








<fieldset class="fieldset">
<legend>Attached Files</legend>
<table cellpadding="0" cellspacing="3" border="0">
<!-- BEGIN TEMPLATE: postbit_attachment -->
<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...38;d=1409361389">colorchat.inc</a> (5.9 KB)


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

<a href="http://www.amxmodx.o...?file_id=137430"><strong>Get Plugin</strong></a> or
<a href="https://forums.allie...38;d=1409361536">Get Source</a> (HPArmorFromFile.sma - 5.2 KB)

</td>
</tr>
<!-- END TEMPLATE: postbit_attachment -->
</table>
</fieldset>


</div>

<!-- END TEMPLATE: postbit_external -->

Wyświetl pełny artykuł
Odpowiedz