Raised This Month: $32 Target: $400
 8% 

[CSGO] Advanced Admin Commands


Post New Thread Reply   
 
Thread Tools Display Modes
Pitohui
New Member
Join Date: Mar 2019
Old 03-22-2019 , 04:28   Re: [CSGO] Advanced Admin Commands
Reply With Quote #151

How does the sm_setstats command work? ive tried /sm_setstats 100 3 90 900 but i dont think im doing it right can i get some help?
Pitohui is offline
PeEzZ
Senior Member
Join Date: Jan 2014
Location: Hungary
Old 03-22-2019 , 08:17   Re: [CSGO] Advanced Admin Commands
Reply With Quote #152

Code:
sm_setstats <target> <kills | assists | deaths | mvps | scores | clan> <[+/-] value> - Set the stats for the targets, ADMFLAG_BAN
For using this command, you need to type one of the available names, after the targetted player, like:
Code:
sm_setstats Boby kills 100 - This will set Boby's kills (or frags) to 100
or
Code:
sm_setstats Boby clan "Nub" - This will set Boby's clantag to Nub
__________________
I MAKING MY PLUGINS/MAPS STILL, BUT I DON'T HAVE ENOUGH TIME, PLEASE STAND BY.
Sorry for my bad english, correct me if i'm wrong.
Magyarok írjanak PM-et ha fontos!

If you want, you can donate for me here
My plugins here / My maps here

Last edited by PeEzZ; 03-22-2019 at 11:22.
PeEzZ is offline
Pitohui
New Member
Join Date: Mar 2019
Old 03-22-2019 , 13:53   Re: [CSGO] Advanced Admin Commands
Reply With Quote #153

Quote:
Originally Posted by PeEzZ View Post
Code:
sm_setstats <target> <kills | assists | deaths | mvps | scores | clan> <[+/-] value> - Set the stats for the targets, ADMFLAG_BAN
For using this command, you need to type one of the available names, after the targetted player, like:
Code:
sm_setstats Boby kills 100 - This will set Boby's kills (or frags) to 100
or
Code:
sm_setstats Boby clan "Nub" - This will set Boby's clantag to Nub

Thank you
Pitohui is offline
AG.1436
Junior Member
Join Date: Feb 2019
Location: in front of this screen
Old 04-05-2019 , 07:19   Re: [CSGO] Advanced Admin Commands
Reply With Quote #154

after using this plugin for months
i have discovered that it dont work when u execute a command from *server* console
AG.1436 is offline
deivius1
New Member
Join Date: Oct 2018
Old 05-26-2019 , 19:32   Re: [CSGO] Advanced Admin Commands
Reply With Quote #155

How do you spawn/give/equip shield, snowball, spunner or an axe? what are the names of these items, cannot find them.
deivius1 is offline
PeEzZ
Senior Member
Join Date: Jan 2014
Location: Hungary
Old 05-27-2019 , 09:30   Re: [CSGO] Advanced Admin Commands
Reply With Quote #156

Spanner, axe and the wrench will not work now, but the snowball and the shield will, replace this code around the line 38
Code:
new String: WeaponsList[][] = //VALID WEAPON NAMES HERE
{
	"c4", "knife", "knifegg", "fists", "axe", "hammer", "spanner", "taser", "healthshot", "tablet", "shield", //misc
	"decoy", "flashbang", "hegrenade", "molotov", "incgrenade", "smokegrenade", "tagrenade", "breachcharge", "snowball", //projectiles
	"usp_silencer", "glock", "tec9", "p250", "hkp2000", "cz75a", "deagle", "revolver", "fiveseven", "elite", //pistoles
	"nova", "xm1014", "sawedoff", "mag7", "m249", "negev", //heavy
	"mp9", "mp7", "mp5sd", "ump45", "p90", "bizon", "mac10", //smgs
	"ak47", "aug", "famas", "sg556", "galilar", "m4a1", "m4a1_silencer", //rifles
	"awp", "ssg08", "scar20", "g3sg1" //snipers
};
The plugin will be updated soon, just i don't have time now.
__________________
I MAKING MY PLUGINS/MAPS STILL, BUT I DON'T HAVE ENOUGH TIME, PLEASE STAND BY.
Sorry for my bad english, correct me if i'm wrong.
Magyarok írjanak PM-et ha fontos!

If you want, you can donate for me here
My plugins here / My maps here

Last edited by PeEzZ; 05-27-2019 at 09:58.
PeEzZ is offline
deivius1
New Member
Join Date: Oct 2018
Old 05-27-2019 , 14:10   Re: [CSGO] Advanced Admin Commands
Reply With Quote #157

Quote:
Originally Posted by PeEzZ View Post
Spanner, axe and the wrench will not work now, but the snowball and the shield will, replace this code around the line 38
Code:
new String: WeaponsList[][] = //VALID WEAPON NAMES HERE
{
	"c4", "knife", "knifegg", "fists", "axe", "hammer", "spanner", "taser", "healthshot", "tablet", "shield", //misc
	"decoy", "flashbang", "hegrenade", "molotov", "incgrenade", "smokegrenade", "tagrenade", "breachcharge", "snowball", //projectiles
	"usp_silencer", "glock", "tec9", "p250", "hkp2000", "cz75a", "deagle", "revolver", "fiveseven", "elite", //pistoles
	"nova", "xm1014", "sawedoff", "mag7", "m249", "negev", //heavy
	"mp9", "mp7", "mp5sd", "ump45", "p90", "bizon", "mac10", //smgs
	"ak47", "aug", "famas", "sg556", "galilar", "m4a1", "m4a1_silencer", //rifles
	"awp", "ssg08", "scar20", "g3sg1" //snipers
};
The plugin will be updated soon, just i don't have time now.
Big thanks. if you may, perhaps add heavyarmor aswell? or a command for it. Ty for your work!
deivius1 is offline
PeEzZ
Senior Member
Join Date: Jan 2014
Location: Hungary
Old 05-28-2019 , 10:24   Re: [CSGO] Advanced Admin Commands
Reply With Quote #158

It's currently in the plugin, read after the ItemsList line, you need to enable to use, but then, everyone can buy from the buymenu
__________________
I MAKING MY PLUGINS/MAPS STILL, BUT I DON'T HAVE ENOUGH TIME, PLEASE STAND BY.
Sorry for my bad english, correct me if i'm wrong.
Magyarok írjanak PM-et ha fontos!

If you want, you can donate for me here
My plugins here / My maps here
PeEzZ is offline
scoty
Member
Join Date: Nov 2015
Old 08-11-2019 , 19:10   Re: [CSGO] Advanced Admin Commands
Reply With Quote #159

what if i want to disable some commands like !respawn or !give commands?
scoty is offline
freak.exe_uLow
AlliedModders Donor
Join Date: Jul 2012
Location: Germany
Old 08-11-2019 , 19:25   Re: [CSGO] Advanced Admin Commands
Reply With Quote #160

Quote:
Originally Posted by scoty View Post
what if i want to disable some commands like !respawn or !give commands?
in your admin_overrides.cfg (addons/sourcemod/configs/admin_overrides.cfg) the "o" and "z" is the flag

Code:
Overrides
{
      "sm_bury"         "o"
	  "sm_speed"        "z"
	  "sm_god"          "o"
	  "sm_armour"       "o"
	  "sm_helmet"       "o"
	  "sm_health"       "o"
	  "sm_cash"         "o"
	  "sm_setstats"     "o"
	  "sm_teamscores"   "o"
	  "sm_team"         "o"
	  "sm_swap"         "o"
	  "sm_scramble"     "z"
	  "sm_spawnchicken" "z"
	  "sm_spawnball"    "o"
	  "sm_teleport"     "o"
	  "sm_saveloc"      "o"
	  "sm_respawn"      "o"
	  "sm_disarm"       "z"
	  "sm_equip"        "z"
	  "sm_give"         "z"
	  "sm_restartgame"  "z"
	  "sm_restartround" "z"
	  "sm_equipments"   "z"
	  "sm_clearmap"     "z"
}

Last edited by freak.exe_uLow; 08-11-2019 at 19:27.
freak.exe_uLow is offline
Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 18:14.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode