This site is a testing version, but all data is shared with the live forum.


Raised This Month: $ Target: $400
 0% 

Disable Addcond [Sv_Cheats 1 Enabled]


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Sheepy
Junior Member
Join Date: Feb 2014
Old 05-08-2014 , 08:06   Disable Addcond [Sv_Cheats 1 Enabled]
Reply With Quote #1

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.
Sheepy is offline
Drixevel
AlliedModders Donor
Join Date: Sep 2009
Location: Somewhere headbangin'
Old 05-08-2014 , 10:05   Re: Disable Addcond [Sv_Cheats 1 Enabled]
Reply With Quote #2

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

public Action:BlockCommand(client, const String:command[], args)
{
	return Plugin_Handled;
}
Something like that maybe?

- Jack
Drixevel is offline
Sheepy
Junior Member
Join Date: Feb 2014
Old 05-08-2014 , 10:11   Re: Disable Addcond [Sv_Cheats 1 Enabled]
Reply With Quote #3

Quote:
Originally Posted by r3dw3r3w0lf View Post
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
Sheepy 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 05:16.


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