diff --git a/Other(Unstable after map change)/Admin+votemap/configs/plugins.ini b/Other(Unstable after map change)/Admin+votemap/configs/plugins.ini index 88d2a54..d237b66 100644 --- a/Other(Unstable after map change)/Admin+votemap/configs/plugins.ini +++ b/Other(Unstable after map change)/Admin+votemap/configs/plugins.ini @@ -4,9 +4,6 @@ // AVAILABLE ADMIN COMMANDS: // -// login // Getting admin rights -// @password - admin password taken from "admin_password" key below. Required for using all these commands(string) -// // kickit // kick player // @uid - userid of client(int) It was any userid or @all text if u want to kick all exclude self // @reason - reason of kick(string) @@ -49,7 +46,7 @@ // @uid - userid of client(int) // @weapon_classname - classname of weapon which will removed from client currently equipements(string) It was any classweapon or @all text if u want to disarm all weapon of client // -// killit // kill player +// slay // kill player // @uid - userid of client(int) // // changeteam // change player team @@ -60,12 +57,15 @@ // @uid - userid of client(int) // @status - turn off or turn on the HUD display(bool)(0 / 1) // -// slap // slapped player +// slap // slap the player // @uid - userid of client(int) -// @hp - hp to slap +// @hp - hp of slap // // AVAILABLE PLAYER COMMANDS: -// +// +// login // Getting admin rights +// @password - admin password taken from "admin_password" key below. Required for using all these commands(string) +// // votemap // voting to mapchange // @mapname - name of map for want to vote(string) // diff --git a/Other(Unstable after map change)/Admin+votemap/vscripts/plugins.lua b/Other(Unstable after map change)/Admin+votemap/vscripts/plugins.lua index 6bdf0bd..d16fe4e 100644 --- a/Other(Unstable after map change)/Admin+votemap/vscripts/plugins.lua +++ b/Other(Unstable after map change)/Admin+votemap/vscripts/plugins.lua @@ -244,7 +244,7 @@ Convars:RegisterCommand("setmap", function(_, map, chtime) end end, nil, 0) --- slap +-- slap Convars:RegisterCommand("slap", function(_, userid, hp) if Players[tonumber(userid)]["userid_pawn"]:IsAlive() == true then local client = Convars:GetCommandClient() @@ -439,8 +439,8 @@ Convars:RegisterCommand("changeteam", function(_, userid, team) end end, nil, 0) --- killit -Convars:RegisterCommand("killit", function(_, userid) +-- slay +Convars:RegisterCommand("slay", function(_, userid) if Players[tonumber(userid)]["userid_pawn"]:IsAlive() == true then if IsAdmin(Convars:GetCommandClient()) == true then if Players[tonumber(userid)] ~= nil then diff --git a/README.md b/README.md index 9ea3c3a..8156d93 100644 --- a/README.md +++ b/README.md @@ -197,9 +197,10 @@ For admin: - **grav \ \** - set gravity to the player (any decimal positive number, for example 0.5 or 49.0) - **fric \ \** - to set the grip on the surface of the player (any decimal positive number, for example 0.5 or 49.0) - **disarm \ \** - remove the player's weapon, for example, weapon_ak47. Delete all weapons - instead of write - @all -- **killit \** - kill the player +- **slay \** - kill the player - **changeteam \ \** - change the player's team (team number or short name. For example ct or 3) - **hudstatus \ \** - turn off or turn off the hood to the player (0 or 1) +- **slap \ \** - slap player For all: - **login \** - getting administrator rights for a session