<!-- BEGIN TEMPLATE: postbit_external -->
<div><b><u>Description:</u></b><br /><br />A interface for developers for create NPCs in CS:S<br /><br /><br />Based in NPCs of <a href="https://forums.allie...ad.php?t=157075" target="_blank">EntControl</a> plugin<br /><br /><br /><b><u>Configuration:<br /></u></b><br /><br />Go to addons/sourcemod/configs/npcgenerator.cfg for configure NPCs<br /><br /><br /><b><u>Screenshots:</u></b><br /><img src="http://cloud.steampowered.com/ugc/937000279291809021/F5964A5C68931F4E433410CA2941BD166B10ABC1/" border="0" alt="" /><br /><br /><br /><b><u>Natives:</u></b><br /><!-- BEGIN TEMPLATE: bbcode_php_printable -->
<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: #FF8000">/**<br /> * Create a NPC.<br /> *<br /> * @param position Position when NPC will appear<br /> * @noreturn <br /> */<br /></span><span style="color: #0000BB">native NPC_CreateZombie</span><span style="color: #007700">(</span><span style="color: #0000BB">Float</span><span style="color: #007700">:</span><span style="color: #0000BB">position</span><span style="color: #007700">[</span><span style="color: #0000BB">3</span><span style="color: #007700">]);<br /><br /></span><span style="color: #0000BB">native NPC_CreateDog</span><span style="color: #007700">(</span><span style="color: #0000BB">Float</span><span style="color: #007700">:</span><span style="color: #0000BB">position</span><span style="color: #007700">[</span><span style="color: #0000BB">3</span><span style="color: #007700">]);<br /><br /></span><span style="color: #0000BB">native NPC_CreateGman</span><span style="color: #007700">(</span><span style="color: #0000BB">Float</span><span style="color: #007700">:</span><span style="color: #0000BB">position</span><span style="color: #007700">[</span><span style="color: #0000BB">3</span><span style="color: #007700">]);<br /><br /></span><span style="color: #0000BB">native NPC_CreateBarney</span><span style="color: #007700">(</span><span style="color: #0000BB">Float</span><span style="color: #007700">:</span><span style="color: #0000BB">position</span><span style="color: #007700">[</span><span style="color: #0000BB">3</span><span style="color: #007700">]);<br /><br /></span><span style="color: #0000BB">native NPC_CreateAntlionguard</span><span style="color: #007700">(</span><span style="color: #0000BB">Float</span><span style="color: #007700">:</span><span style="color: #0000BB">position</span><span style="color: #007700">[</span><span style="color: #0000BB">3</span><span style="color: #007700">]);<br /><br /></span><span style="color: #0000BB">native NPC_CreateHeadcrab</span><span style="color: #007700">(</span><span style="color: #0000BB">Float</span><span style="color: #007700">:</span><span style="color: #0000BB">position</span><span style="color: #007700">[</span><span style="color: #0000BB">3</span><span style="color: #007700">]);
<br /></span><span style="color: #0000BB"></span>
</span>
</code><!-- php buffer end -->
</div>
</code>
<hr />
</div>
</div>
<!-- END TEMPLATE: bbcode_php_printable -->Put #include <npcgenerator> in your plugin for use it, <a href="https://forums.allie...38;d=1374684589" target="_blank">test plugin with natives</a><br /><br /><br /><br />Note: plugin in beta version, Even may have bugs<br /><br />Soon more natives and NPCs.</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/zip.gif" alt="File Type: zip" width="16" height="16" border="0" style="vertical-align:baseline" /></td>
<td>
<a href="https://forums.allie...38;d=1374684277">NPC Generator Interface.zip</a> (41.5 KB)
</td>
</tr>
<!-- END TEMPLATE: postbit_attachment -->
</table>
</fieldset>
</div>
<!-- END TEMPLATE: postbit_external -->
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

[CS:S] NPC Generator Interface
Temat rozp. Adminek AMXX.PL, 24.07.2013 17:45
Brak odpowiedzi do tego tematu
Użytkownicy przeglądający ten temat: 0
0 użytkowników, 0 gości, 0 anonimowych