<div>This is my first plugin for learning plugin scripting so pls go easy.<br />From what I saw there were a lot of title plugins which used databases to store their titles along with other things. And since I couldn't be stuffed with setting up a database for my server I wrote my own plugin which uses flat file structure, hence the name.<br /><br />Also if any experienced programmer would like to help point out anything which should be done differently that would be nice.<br /><br />General feedback would be awesome too.<br /><br /><b>Description</b><br />Concatenates a title in front of a players name in chat. Doesn't require a database to setup and easy to use.<br /><br /><b>Installation</b><br />Place flat-titles.smx into sourcemod/plugins<br />Place flat-titles.txt into sourcemod/data<br /><br /><b>Feature list</b><br />Titles<br />No databases<br />Easy to manage titles<br /><br /><b>Dependencies</b><br /><a href="https://forums.allie...913&page=1"target="_blank">Chat-Processor</a><br /><br /><b>Changelog</b><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">1.0 (29-9-16)<br /><br />-Initial Release</code><hr />
</div><b>TODO:</b><br />-Optimize code?<br />-Add support to change title colours (hard coded orange atm)<br />-Add ability to use console/chat commands to add titles<br /> e.g. sm_addtitle <name> <title> <colour><br />-Add ability to change title from console/chat<br />-Add regex support to loosen titles format<br />-Add support for groups<br />-Add suffixes<br /><br />Priority is in order of list</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/sp.gif"alt="File Type: sp" width="16" height="16" border="0" style="vertical-align:baseline" /></td>
<td>
<a href="http://www.sourcemod...16"><strong>GetPlugin</strong></a> or
<a href="https://forums.allie...1475075737">GetSource</a> (flat-titles.sp - 3.0 KB)
</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...-titles.smx</a>(6.0 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...-titles.txt</a>(228 Bytes)
</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] Flat Titles
Temat rozp. Adminek AMXX.PL, 28.09.2016 16:33
Brak odpowiedzi do tego tematu
Użytkownicy przeglądający ten temat: 0
0 użytkowników, 0 gości, 0 anonimowych