<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 <default -1></b> - Settings of !admins command, -1 - show fake no admins), 0 - disable, 1 - show online admins<br /><b><br />sm_advanced_admin_join_announce <default 1> </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 <minutes></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 <target1> <leave blank for savedlocation | target2></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 <target> <0-1-2|spec-spectator-T-CT></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 <target></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 <target> <thing name></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 "[SM] Bart got Bacon")</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 <target></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 <target></b> - Bury a player, <i><u>ADMFLAG_KICK</u><br />(Example: sm_bury Bart - Bury Bart)</i><br /><b><br />sm_unbury <target></b> - Unbury a player, <i><u>ADMFLAG_KICK<br /></u></i><i>(Example: sm_unbury Bart - Unbury Bart)</i><br /><b><br />sm_speed <target> <amount></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 <target></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 <target> <0-1></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 <target> <amount></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 <target> <amount></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 <target> <0-1></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 <target> <amount> </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 <target> <amount></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 <target> <amount></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 <target> <amount></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 <target> <amount></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 <target> <amount></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 "sm_advanced_admin_cmd_admins" is -1 this say "No Admins Online", if 0 this say "This command disabled.", if 1 this is say the true online admin's names with flags - "Online admins: [A]Bart, [R]PeEzZ" 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 -->> P228, SCOUT, SG550, GALIL, MP5NAVY, TMP, SG552, SCAR17, PRIMAMMO, SECAMMO<br />{<br /> "defuser", "c4", "knife", "knifegg", "taser", "healthshot", //misc<br /> "decoy", "flashbang", "hegrenade", "molotov", "incgrenade", "smokegrenade", "tagrenade", //grenades<br /> "usp_silencer", "glock", "tec9", "p250", "hkp2000", "cz75a", "deagle", "revolver", "fiveseven", "elite", //pistoles<br /> "nova", "xm1014", "sawedoff", "mag7", "m249", "negev", // heavy weapons<br /> "mp9", "mp7", "ump45", "p90", "bizon", "mac10", //smgs<br /> "ak47", "aug", "famas", "sg556", "galilar", "m4a1", "m4a1_silencer", //rifles<br /> "awp", "ssg08", "scar20", "g3sg1" //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 "sm_give_weapons" 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ł
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

[CSGO] Advanced Admin Commands
Temat rozp. Adminek AMXX.PL, 22.07.2016 15:45
Brak odpowiedzi do tego tematu
Użytkownicy przeglądający ten temat: 0
0 użytkowników, 0 gości, 0 anonimowych