←  [RSS] Pluginy

AMXX.pl: Support AMX Mod X i SourceMod

»

How too use this plugin

Adminek AMXX.PL's Photo Adminek AMXX.PL 28.10.2015

<div>Hello! (:<br /><br />Im new too this srcds area.<br /><br />Can somone please tell me how do i use this code?<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">#include &lt;sourcemod&gt; <br />#include &lt;smlib&gt; <br /><br />#define PLUGIN_VERSION &quot;1.0&quot; <br /><br />#pragma semicolon 1 <br /><br />public Plugin:myinfo = <br />{ <br />&nbsp; &nbsp; name = &quot;[ANY] Slay after joining a team&quot;, <br />&nbsp; &nbsp; author = &quot;Headline&quot;, <br />&nbsp; &nbsp; description = &quot;Slays the when a client chooses a team.&quot;, <br />&nbsp; &nbsp; version = PLUGIN_VERSION, <br />&nbsp; &nbsp; url = &quot;http://www.michaelwf...aherty.com&#34; <br />}; <br /><br />public OnPluginStart() <br />{ <br />&nbsp; &nbsp; AddCommandListener(Command_JoinTeam, &quot;jointeam&quot;); // Hook Join Team <br />} <br /><br /><br />public Action:Command_JoinTeam(client, const String:command[], argc)&nbsp; <br />{ <br />&nbsp; &nbsp; CreateTimer(0.2, Timer_Slay, client, TIMER_FLAG_NO_MAPCHANGE); <br />} <br /><br />public Action:Timer_Slay(Handle:hTimer, any:client) <br />{ <br />&nbsp; &nbsp; ForcePlayerSuicide(client); <br />}</code><hr />
</div>Can somone make an working SMX or SP of it? :)<br />So i can use it on my server on CS:GO.<br /><br />Thanks! :)</div>

Wyświetl pełny artykuł
Quote