Skocz do zawartości

  • Zaloguj korzystając z Facebooka Zaloguj korzystając z Twittera Zaloguj przez Steam Zaloguj poprzez Google      Logowanie »   
  • Rejestracja

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.

  • Rozpoczynaj nowe tematy i odpowiedaj na inne
  • Zapisz się do tematów i for, aby otrzymywać automatyczne uaktualnienia
  • Dodawaj wydarzenia do kalendarza społecznościowego
  • Stwórz swój własny profil i zdobywaj nowych znajomych
  • Zdobywaj nowe doświadczenia

Dołączona grafika Dołączona grafika

Guest Message by DevFuse
 

Zdjęcie

[CSGO] Advanced Admin Commands


  • Nie możesz napisać tematu
  • Zaloguj się, aby dodać odpowiedź
Brak odpowiedzi do tego tematu

#1 Adminek AMXX.PL

    Admin :)

  • Bot

Reputacja: 156
Profesjonalista

  • Postów:7179
  • Lokalizacja:AMXX.PL
Offline

Napisano 22.07.2016 15:45

<div>Hi!<br />I created an other advanced admin commands plugin, so.<br />This one is full support CSGO.<br /><br /><b>_____</b>__<br /><b>CVars:<br /><br /></b> <b>sm_advanced_admin_cmd_admins &lt;default -1&gt;</b> - Settings of !admins command, -1 - show fake no admins), 0 - disable, 1 - show online admins<br /><b><br />sm_advanced_admin_join_announce &lt;default 1&gt; </b>- Join announce if someone join your server, 0 - disable, 1 - enable <br /><i>(Example if enabled: PeEzZ connected (Hungary), or if can't request the country: PeEzZ connected)<br /><br /></i> <b>_____</b>__<br /><b>Admin commands:<br /><br /></b> <b>sm_extend &lt;minutes&gt;</b> - Extending the map, <i><u>ADMFLAG_CHANGEMAP</u></i> <br /><i>(Example: sm_extend 10 - add 10 minutes to map | sm_extend -10 - deprive 10 minutes from map)</i><br /><b><br />sm_clearmap</b> - Deleting all dropped weapons from map, <i><u>ADMFLAG_GENERIC</u></i><br /><i>(Example: I dont know, this one remove the map placed weapons or not, so, but if you have lag by weapon dropping trolls, you can delete all weapons on ground)<br /></i><b><br />sm_teleport &lt;target1&gt; &lt;leave blank for savedlocation | target2&gt;</b> - Teleporting a player, <i><u>ADMFLAG_BAN</u></i><br /><i>(Example: sm_teleport Bart PeEzZ - teleporting Bart to PeEzZ | sm_teleport PeEzZ - Teleporting PeEzZ your saved position)<br /><br /></i> <b>sm_saveloc</b> - Saving your position for teleport, <i><u>ADMFLAG_BAN<br /></u>(Example: Type sm_saveloc (!saveloc), walk elsewhere, and type sm_teleport @me (!teleport @me) - You teleported back to position you saved)</i><br /><br /><b>sm_team &lt;target&gt; &lt;0-1-2|spec-spectator-T-CT&gt;</b> - Set team of player, <i><u>ADMFLAG_KICK</u></i><br /><i>(Example: sm_team @me t - Change my team to terrorists)<br /><br /></i> <b>sm_spec &lt;target&gt;</b> - Set player team to spectator, <i><u>ADMFLAG_KICK</u><br />(Example: sm_spec @me - Set my team to spectators)</i><br /><b><br />sm_give &lt;target&gt; &lt;thing name&gt;</b> - Give weapons or something to player, <i><u>ADMFLAG_BAN</u> - </i><i><i>(Available weapon names below)</i><br />(Example: sm_give @me m4a1 - Give me one M4A1 | Or you can give fake items for users: sm_give Bart Beacon - this just only say to clients &quot;[SM] Bart got Bacon&quot;)</i><br /><b><br />sm_give_weapons</b> - Show valid giveable weapon names, <i><u>ADMFLAG_BAN</u><br />(Example: This command say the available weapon names, </i><i><i><i>available weapon names below</i></i>)</i><br /><b><br />sm_disarm &lt;target&gt;</b> - Disarm a player, <i><u>ADMFLAG_BAN</u><br />(Example: sm_disarm @t - Disarm all players in terrorist team)</i><br /><b><br />sm_bury &lt;target&gt;</b> - Bury a player, <i><u>ADMFLAG_KICK</u><br />(Example: sm_bury Bart - Bury Bart)</i><br /><b><br />sm_unbury &lt;target&gt;</b> - Unbury a player, <i><u>ADMFLAG_KICK<br /></u></i><i>(Example: sm_unbury Bart - Unbury Bart)</i><br /><b><br />sm_speed &lt;target&gt; &lt;amount&gt;</b> - Set speed of player, <i><u>ADMFLAG_BAN</u></i><br /><i>(Example: sm_speed @me 1 - set my speed to normal | sm_speed @me 2 - set my speed to 2X)</i><br /><b><br />sm_respawn &lt;target&gt;</b> - Respawn a player, <i><u>ADMFLAG_KICK</u></i><br /><i>(Example: sm_respawn @me - You respawned yourself)</i><b><br /><br />sm_god &lt;target&gt; &lt;0-1&gt;</b> - Set godmode of player, <i><u>ADMFLAG_BAN</u></i><br /><i>(Example: sm_god @me 1 - Give godmode for me | sm_god @me 0 - Remove god from me)</i><br /><b><br />sm_health </b>or <b>sm_hp &lt;target&gt; &lt;amount&gt;</b> - Set health of player, <i><u>ADMFLAG_KICK</u></i><br /><i>(Example: sm_hp @me 100 - Set my hp to 100 | sm_hp @me +100 - Give me +100 health point | sm_hp @me -100 deprive 100 hp from me)</i><br /><b><br />sm_armour &lt;target&gt; &lt;amount&gt;</b> - Set armour of player, <i><u>ADMFLAG_KICK</u></i><br /><i>(Example: sm_armour @me 100 - Set my armour to 100 | sm_armour @me +100 - Give me +100 armour point | sm_armour @me -100 deprive 100 armour from me)</i><br /><b><br />sm_helmet &lt;target&gt; &lt;0-1&gt;</b> - Set helmet of player, <i><u>ADMFLAG_KICK</u></i><br />(<i>Example: sm_helmet @me 1 - Give helmet for me | sm_helmet @me 0 - Remove my helmet)</i><br /><b><br />sm_cash &lt;target&gt; &lt;amount&gt; </b>- Set cash of player, <i><u>ADMFLAG_BAN</u></i><br /><i>(Example: sm_cash @me 100 - Set my cash to $100 | sm_cash @me +100 - Give me +$100 | sm_armour @me -100 deprive $100 from me)</i><br /><b><br />sm_frags &lt;target&gt; &lt;amount&gt;</b> - Set frags of player, <i><u>ADMFLAG_BAN</u></i><br /><i>(Example: sm_frags @me 100 - Set my frags to 100 | sm_frags @me +100 - Give me +100 frag point | sm_frags @me -100 deprive 100 frags from me)</i><br /><b><br />sm_assists &lt;target&gt; &lt;amount&gt;</b> - Set assists of player, <i><u>ADMFLAG_BAN</u></i><br /><i>(Example: sm_assists @me 100 - Set my assists to 100 | sm_assists @me +100 - Give me +100 assist point | sm_assists @me -100 deprive 100 assists from me)</i><br /><b><br />sm_deaths &lt;target&gt; &lt;amount&gt;</b> - Set deaths of player, <i><u>ADMFLAG_BAN</u></i><br /><i>(Example: sm_deaths @me 100 - Set my deaths to 100 | sm_deaths @me +100 - Give me +100 death point | sm_deaths @me -100 deprive 100 deaths from me)</i><br /><b><br />sm_mvps &lt;target&gt; &lt;amount&gt;</b> - Set MVPs of player, <i><u>ADMFLAG_BAN</u></i><br /><i>(Example: sm_mvps @me 100 - Set my mvps to 100 | sm_mvps @me +100 - Give me +100 mvp point | sm_mvps @me -100 deprive 100 mvps from me)</i><br /><b><br />sm_scores &lt;target&gt; &lt;amount&gt;</b> - Set scores of player, <i><u>ADMFLAG_BAN</u></i><br /><i>(Example: sm_scores @me 100 - Set my scores to 100 | sm_scores @me +100 - Give me +100 score | sm_scores @me -100 deprive 100 scores from me)</i><br /><b><b><br />_____</b>__ <br />Non-Admin commands:</b><br /><b><br />sm_admins</b> - Show online admins<br /><i>(Example: if &quot;sm_advanced_admin_cmd_admins&quot; is -1 this say &quot;No Admins Online&quot;, if 0 this say &quot;This command disabled.&quot;, if 1 this is say the true online admin's names with flags - &quot;Online admins: [A]Bart, [R]PeEzZ&quot; Flags: [A] - have generic admin flag, [R] - have root admin flag, <u><b>for players have generic admin flag, this command say always the true online admins</b></u>)</i><br /><b><b><br />_____</b>__<br /> Available weapon names:<br /></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">new String: ValidItems[][] = //VALID WEAPON NAMES, THIS NAMES MAKING SERVER CRASH --&gt;&gt; P228, SCOUT, SG550, GALIL, MP5NAVY, TMP, SG552, SCAR17, PRIMAMMO, SECAMMO<br />{<br />&nbsp; &nbsp; &quot;defuser&quot;, &quot;c4&quot;, &quot;knife&quot;, &quot;knifegg&quot;, &quot;taser&quot;, &quot;healthshot&quot;, //misc<br />&nbsp; &nbsp; &quot;decoy&quot;, &quot;flashbang&quot;, &quot;hegrenade&quot;, &quot;molotov&quot;, &quot;incgrenade&quot;, &quot;smokegrenade&quot;, &quot;tagrenade&quot;, //grenades<br />&nbsp; &nbsp; &quot;usp_silencer&quot;, &quot;glock&quot;, &quot;tec9&quot;, &quot;p250&quot;, &quot;hkp2000&quot;, &quot;cz75a&quot;, &quot;deagle&quot;, &quot;revolver&quot;, &quot;fiveseven&quot;, &quot;elite&quot;, //pistoles<br />&nbsp; &nbsp; &quot;nova&quot;, &quot;xm1014&quot;, &quot;sawedoff&quot;, &quot;mag7&quot;, &quot;m249&quot;, &quot;negev&quot;, // heavy weapons<br />&nbsp; &nbsp; &quot;mp9&quot;, &quot;mp7&quot;, &quot;ump45&quot;, &quot;p90&quot;, &quot;bizon&quot;, &quot;mac10&quot;, //smgs<br />&nbsp; &nbsp; &quot;ak47&quot;, &quot;aug&quot;, &quot;famas&quot;, &quot;sg556&quot;, &quot;galilar&quot;, &quot;m4a1&quot;, &quot;m4a1_silencer&quot;, //rifles<br />&nbsp; &nbsp; &quot;awp&quot;, &quot;ssg08&quot;, &quot;scar20&quot;, &quot;g3sg1&quot; //snipers<br />};</code><hr />
</div><b><br /><br />_____</b>__<br /><b>Requirements:<br /></b>- SourceMod 1.8<br />- Translation files<br /><br /><b>_______</b><br /><b>Notes:</b><br />- Not for troll admins.<br />- If you found a bug, keep report for me.<br />- If you want add some other command, tell me.<br />- This plugin is in test stage, so use careful.<br /><br /><b>_____</b>___<br /><b>Updates:<br /></b><i>(1.1)</i><br />- Now &quot;sm_give_weapons&quot; read the available weapon names inside from plugin.<br />- Translation files updated.<br /><b>_____</b>___</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...d_admin.zip</a>(27.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...64"><strong>GetPlugin</strong></a> or
<a href="https://forums.allie...1469202151">GetSource</a> (sm_advanced_admin.sp - 35.7 KB)


</td>
</tr>
</table>
</fieldset>


</div>

Wyświetl pełny artykuł




Użytkownicy przeglądający ten temat: 0

0 użytkowników, 0 gości, 0 anonimowych