Raised This Month: $ Target: $400
 0% 

Cmd Name blocker


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
zer0_goku
Junior Member
Join Date: Dec 2005
Old 07-25-2006 , 17:26   Cmd Name blocker
Reply With Quote #1

Is there a way to block "cmd name" ... coz ppl change the player's name and that is too annoying ... can some one plz make a plugin which blocks cmd name so no one can change names ... it would be very thankfull.
thanx in advance
zer0_goku is offline
Send a message via MSN to zer0_goku
Hawk552
AMX Mod X Moderator
Join Date: Aug 2005
Old 07-25-2006 , 18:49   Re: Cmd Name blocker
Reply With Quote #2

Code:
#include <amxmodx> public plugin_init()     register_clcmd("cmd","CmdCmd")     public CmdCmd(id) // awesome name     return PLUGIN_HANDLED

May or may not work, also may or may not block other important commands, so try it and I'll narrow it down if it doesn't work perfectly.
__________________
Hawk552 is offline
Send a message via AIM to Hawk552
jorgamun
Member
Join Date: Jun 2006
Location: Fairhope, AL
Old 07-26-2006 , 10:46   Re: Cmd Name blocker
Reply With Quote #3

Maybe this is something that you will find useful.
http://forums.alliedmods.net/showthread.php?t=18232
__________________
It's only after you've lost everything that you are free to do anything. -Tyler Durden
jorgamun is offline
Send a message via AIM to jorgamun
Hawk552
AMX Mod X Moderator
Join Date: Aug 2005
Old 07-26-2006 , 11:24   Re: Cmd Name blocker
Reply With Quote #4

Quote:
Originally Posted by jorgamun
Maybe this is something that you will find useful.
http://forums.alliedmods.net/showthread.php?t=18232
No, because "cmd name" changes the server's name, not client's names. Read his post next time rather than just jumping in.
__________________
Hawk552 is offline
Send a message via AIM to Hawk552
jorgamun
Member
Join Date: Jun 2006
Location: Fairhope, AL
Old 07-26-2006 , 11:39   Re: Cmd Name blocker
Reply With Quote #5

Quote:
Originally Posted by zer0_goku
Is there a way to block "cmd name" ... coz ppl change the player's name and that is too annoying ... can some one plz make a plugin which blocks cmd name so no one can change names ... it would be very thankfull.
thanx in advance
Read the post again. He want's to block player's from changing their names. YOU read the post, and stop jumping my case, I was only helping. I was providing him with a plugin for what he wanted. The command is hostname in the server console, or rcon hostname to change the server, not name.
__________________
It's only after you've lost everything that you are free to do anything. -Tyler Durden

Last edited by jorgamun; 07-26-2006 at 11:43.
jorgamun is offline
Send a message via AIM to jorgamun
Hawk552
AMX Mod X Moderator
Join Date: Aug 2005
Old 07-26-2006 , 12:18   Re: Cmd Name blocker
Reply With Quote #6

Quote:
Originally Posted by jorgamun
Read the post again. He want's to block player's from changing their names. YOU read the post, and stop jumping my case, I was only helping. I was providing him with a plugin for what he wanted. The command is hostname in the server console, or rcon hostname to change the server, not name.
go in game and try it, his explanation was kinda weird but try "cmd name <something>" in a listen server.
__________________
Hawk552 is offline
Send a message via AIM to Hawk552
jorgamun
Member
Join Date: Jun 2006
Location: Fairhope, AL
Old 07-26-2006 , 12:41   Re: Cmd Name blocker
Reply With Quote #7

Ah... listen server... didn't think about that. I doubt that was what he was talking about, though. From the first post it seems as if he wants to block clients from changing their names. It would be nice if he would clarify!


[EDIT]: Tried it on my server, did nothing.
__________________
It's only after you've lost everything that you are free to do anything. -Tyler Durden
jorgamun is offline
Send a message via AIM to jorgamun
Hawk552
AMX Mod X Moderator
Join Date: Aug 2005
Old 07-26-2006 , 13:07   Re: Cmd Name blocker
Reply With Quote #8

Quote:
Originally Posted by jorgamun
Ah... listen server... didn't think about that. I doubt that was what he was talking about, though. From the first post it seems as if he wants to block clients from changing their names. It would be nice if he would clarify!


[EDIT]: Tried it on my server, did nothing.
someone else needs to be in the server, and you have to be running the listen server. If they type "cmd name lol" your name should change to lol.
__________________
Hawk552 is offline
Send a message via AIM to Hawk552
cooldude
Junior Member
Join Date: Jul 2006
Old 07-28-2006 , 11:42   Re: Cmd Name blocker
Reply With Quote #9

plz can some 1 help i'm running a Server on lan.and some 1 playing on my server continously Changing my name by typing "Cmd
cooldude is offline
cooldude
Junior Member
Join Date: Jul 2006
Old 07-28-2006 , 11:43   Re: Cmd Name blocker
Reply With Quote #10

plz can some 1 help i'm running a Server on lan.and some 1 playing on my server continously Changing my name by typing "Cmd name ..." i'm sick and tired of this how can i block this command or atleast how can i know which damn player is changing my nick .THANKS is advance pls help
cooldude 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 10:21.


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