Raised This Month: $51 Target: $400
 12% 

Banning Models


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
getup
Member
Join Date: Jun 2007
Old 05-30-2008 , 08:27   Banning Models
Reply With Quote #1

Is there a plug-in designed for amxmod x to kick a player form waring a certain type of model on the server. I have a some players that use an inviable model or a really small model and you cant hardly see them... I have the mdl's on my client side and in order to see them I have to delete the mdl name in my model folder. this converts that Mdl to a default model (orange helmet). But not allot of players know how to do that... So I need a plug in that I can specify the mdl name and kick or ban that player from warring it.. I run a half life 1.

Last edited by getup; 05-31-2008 at 11:37. Reason: some people dont know what i was talking about
getup is offline
hazard1337
Senior Member
Join Date: Sep 2006
Old 05-30-2008 , 13:49   Re: Baning Madels
Reply With Quote #2

Quote:
Originally Posted by BAILOPAN
  • Use descriptive topic titles. People should know at a glance of the title what the thread is about.
  • Always post in a way consistent with “normal writing”. In other words, do not use excessive numbers of emoticons, large, small, or colored text, etc. Similarly do not post in all bold, ALL CAPS, 1337 sp34k, or use excessive punctuation. This applies to both topic titles and posts.
__________________
[IMG]http://img139.**************/img139/1530/2sejaewg1.gif[/IMG]
If you +/- my K, leave your name.
I do not take requests VIA PM
Click on this before requesting/suggesting
This is your best friend
hazard1337 is offline
Send a message via Skype™ to hazard1337
Old 05-30-2008, 14:38
buttercream
This message has been deleted by Greentryst. Reason: you are worthless
FuZ!on
Senior Member
Join Date: Aug 2007
Old 05-30-2008 , 18:50   Re: Baning Madels
Reply With Quote #3

I think he means with the 'model' command that you can use via console in Counter-Strike 1.6 or any other game like that. You can type model chicken and you can turn into a chicken and everybody in the server sees you as a chicken. Most of the servers block this but plugins like Hide N Seek by Oneeyed enables this feature. Try searching for a plug in that blocks that command via console. This has been discussed before.
FuZ!on is offline
buttercream
BANNED
Join Date: May 2008
Location: h3 - Read h2
Old 05-30-2008 , 19:06   Re: Baning Madels
Reply With Quote #4

PHP Code:
/* Plugin generated by AMXX-Studio */

#include <amxmodx>
#include <amxmisc>

#define PLUGIN "Block's model client console"
#define VERSION "1.0"
#define AUTHOR "Butter"


public plugin_init() {
    
register_plugin(PLUGINVERSIONAUTHOR)
    
    
register_clcmd("model""cmdModel")
}

public 
cmdModel(id) {
    return 
PLUGIN_HANDLED


Last edited by buttercream; 05-31-2008 at 15:57.
buttercream is offline
Old 05-30-2008, 21:34
purple nurple
This message has been deleted by Greentryst. Reason: what
Old 05-31-2008, 06:11
buttercream
This message has been deleted by Greentryst. Reason: you are worthless
getup
Member
Join Date: Jun 2007
Old 05-31-2008 , 11:28   Re: Banning Models
Reply With Quote #5

thanks for the advice i'm not a geek to enplane in computer terms.

buttercream PHP Code:
/* Plugin generated by AMXX-Studio */

#include <amxmodx>
#include <amxmisc>

#define PLUGIN "Block's model client console"
#define VERSION "1.0"
#define AUTHOR "Butter"


public plugin_init() {
register_plugin(PLUGIN, VERSION, AUTHOR)

register_clcmd("model", "cmdModel")
}

public
cmdModel(id) {
return
PLUGIN_HANDLED
}

+karma me

very cool so i covert this to a sma file to run it. Can there be a list of models i need to install. would i need to make a ini or just put the name of each mdl register_clcmd("model", "cmdModel") with coma after each name?
getup is offline
borz
Junior Member
Join Date: Mar 2008
Old 05-31-2008 , 11:32   Re: Baning Madels
Reply With Quote #6

Quote:
Originally Posted by getup View Post
Is there a plug-in designed to kick a player form waring a type of model on the server. I have a players that use an inviable model or a really small model and you cant see them... I have the mdl and in order to see them I have to delete the mdl on my end, but not allot of players know how to do that... So I need a plug in that I can specify the mdl name and kick or ban the player from waring it.. I also would like if it can be scripted for all mods. I run a half life 1.
http://www.reallite.cs2.ru/modules.p...=getit&lid=125
borz is offline
getup
Member
Join Date: Jun 2007
Old 05-31-2008 , 11:39   Re: Baning Madels
Reply With Quote #7

thank you but it needs to be installed on the server? not client side
getup is offline
getup
Member
Join Date: Jun 2007
Old 05-31-2008 , 11:51   Re: Banning Models
Reply With Quote #8

like this
/* Plugin generated by AMXX-Studio */

#include <amxmodx>
#include <amxmisc>

#define PLUGIN "Block's model client console"
#define VERSION "1.0"
#define AUTHOR "Butter"


public plugin_init() {
register_plugin(PLUGIN, VERSION, AUTHOR)

register_clcmd("i", "kick")
register_clcmd("tweety", "kick")
register_clcmd("yoda", "kick")
}

public cmdModel(id) {
return PLUGIN_HANDLED
}

also can there be a msg that tell the player reason why he was kicked?
Reason: kicked by unapproved model
getup is offline
borz
Junior Member
Join Date: Mar 2008
Old 05-31-2008 , 14:19   Re: Baning Madels
Reply With Quote #9

Quote:
Originally Posted by getup View Post
thank you but it needs to be installed on the server? not client side
Client side is not required
borz is offline
buttercream
BANNED
Join Date: May 2008
Location: h3 - Read h2
Old 05-31-2008 , 16:00   Re: Banning Models
Reply With Quote #10

Ill do a Example
PHP Code:
/* Plugin generated by AMXX-Studio */

#include <amxmodx>
#include <amxmisc>

#define PLUGIN "Block's model client console"
#define VERSION "1.0"
#define AUTHOR "Butter"


public plugin_init() {
    
register_plugin(PLUGINVERSIONAUTHOR)
    
// When adding a block model leave cmdModel it fine and change     
   // register_clcmd("model Yourmodelhere", "cmdModel")
    
register_clcmd("model i""cmdModel")
    
register_clcmd("model tweety""cmdModel")
    
register_clcmd("model yoda""cmdModel"
}

public 
cmdModel(id) {
    return 
PLUGIN_HANDLED


Last edited by buttercream; 05-31-2008 at 18:50.
buttercream 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 18:51.


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