AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Plugin/Gameplay Ideas and Requests (https://forums.alliedmods.net/forumdisplay.php?f=60)
-   -   Disable Addcond [Sv_Cheats 1 Enabled] (https://forums.alliedmods.net/showthread.php?t=240057)

Sheepy 05-08-2014 08:06

Disable Addcond [Sv_Cheats 1 Enabled]
 
Hey Guys i was wondering if there was a plugin that removed addcond , this will stop players from typing addcond into the server console with my server with sv_cheats 1 enabled.

i was hoping if there a very basic plugin that just disables addcond all together. i am running a crit server with sv_cheats enabled, i only use it to spawn entitys, and people are using addcond, to uber themselves constantly it's really starting to become annoying, so i was wondering if anyone can help me out, by making a plugin that just disables addcond all together, so people cannot type in console.
addcond 5
or addcond 11
or addcond 5 @all or @me
or just disable addcond all together
Cheers.

Drixevel 05-08-2014 10:05

Re: Disable Addcond [Sv_Cheats 1 Enabled]
 
Code:

public OnPluginStart()
{
        AddCommandListener(BlockCommand, "addcond");
}

public Action:BlockCommand(client, const String:command[], args)
{
        return Plugin_Handled;
}

Something like that maybe?

- Jack

Sheepy 05-08-2014 10:11

Re: Disable Addcond [Sv_Cheats 1 Enabled]
 
Quote:

Originally Posted by r3dw3r3w0lf (Post 2135216)
Code:

public OnPluginStart()
{
    AddCommandListener(BlockCommand, "addcond");
}

public Action:BlockCommand(client, const String:command[], args)
{
    return Plugin_Handled;
}

Something like that maybe?

- Jack

Hey Jack Thanks For the Response, so if i wanted to add "addcond 5" for example how i would i make this script into a plugin, as i am very novice in this part. Cheers


All times are GMT -4. The time now is 04:57.

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