Raised This Month: $ Target: $400
 0% 

hide console - how to


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
caveira
Junior Member
Join Date: Aug 2009
Old 09-04-2009 , 05:03   hide console - how to
Reply With Quote #1

1 - I need to hide the console in a way that players can't unhide it. Can be either in the client or the server.

2 - Is that possible to start the server without having to press the button? thx
caveira is offline
tolsty
Senior Member
Join Date: Feb 2008
Location: Latvia
Old 09-04-2009 , 09:24   Re: hide console - how to
Reply With Quote #2

this should block the console command

PHP Code:
#include <amxmodx>

public plugin_init() {
    
register_clcmd("toggleconsole""block")
}
public 
block() {
    return 
PLUGIN_HANDLED

tolsty is offline
BOYSplayCS
BANNED
Join Date: Apr 2008
Location: Gainesville, FL
Old 09-04-2009 , 09:37   Re: hide console - how to
Reply With Quote #3

Okay, let me get started.
  • This is considered slow hacking, we don't support slow hacking here.
  • Second of all, the code you wrote will not work because you returned return PLUGIN_HANDLED when really you should return PLUGIN_HANDLED_MAIN.
  • Toggleconsole isn't the only way to access the console.
BOYSplayCS is offline
xPaw
Retired AMX Mod X Moderator
Join Date: Jul 2008
Old 09-04-2009 , 10:02   Re: hide console - how to
Reply With Quote #4

Quote:
Second of all, the code you wrote will not work because you returned return PLUGIN_HANDLED when really you should return PLUGIN_HANDLED_MAIN.
PHP Code:
#define PLUGIN_HANDLED        1    /* stop other plugins */
#define PLUGIN_HANDLED_MAIN    2    /* to use in client_command(), continue all plugins but stop the command */ 
__________________
xPaw is offline
tolsty
Senior Member
Join Date: Feb 2008
Location: Latvia
Old 09-04-2009 , 12:12   Re: hide console - how to
Reply With Quote #5

Thanx xpaw..

can u explain whats exactly
slow hacking ? never heard of such thing
tolsty is offline
xPaw
Retired AMX Mod X Moderator
Join Date: Jul 2008
Old 09-04-2009 , 12:23   Re: hide console - how to
Reply With Quote #6

Its changing client settings without their permissions, cvars, binds, etc..
__________________
xPaw is offline
Alucard^
AMXX Moderator: Others
Join Date: Sep 2007
Location: Street
Old 09-04-2009 , 12:28   Re: hide console - how to
Reply With Quote #7

@BOYSplayCS

As far as i know, this is not considered SlowHacking o.O

@tolsty

SlowHacking is for example when you use "client_cmd" to bind some things in the player, without the player acceptance... But in this case i don't see SlowHacking... you are only blocking a command.

@caveira

What do you mean with the 2nd request?

Sry for my english.
__________________
Approved Plugins - Steam Profile

Public non-terminated projects:
All Admins Menu, HLTV parameters, Subnick,
Second Password (cool style), InfoZone,
Binary C4 plant/defuse, and more...

Private projects:
NoSpec (+menu), NV Surf Management,
PM Adanved System, KZ longjump2, and more...

Last edited by Alucard^; 09-04-2009 at 12:38.
Alucard^ is offline
Send a message via Skype™ to Alucard^
caveira
Junior Member
Join Date: Aug 2009
Old 09-08-2009 , 19:08   Re: hide console - how to
Reply With Quote #8

tolsty, xPaw: Can u post the whole plugin for me plz? I don't know much bout editing plugins yet. thx bros.

BOYSplayCS: Wrong, its not hackin since this is moddin for my friends.

Alucard^: I mean to run the server without the need to press the 'start server' button. Just hit the icon then the server starts running automatically.
caveira 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 15:01.


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