AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Approved Plugins (https://forums.alliedmods.net/forumdisplay.php?f=8)
-   -   ModelRestrict (https://forums.alliedmods.net/showthread.php?t=8265)

XxAvalanchexX 12-07-2004 02:03

ModelRestrict
 
1 Attachment(s)
This plugin can be used by the server operator to restrict players from using specific models. This is especially good for all of those The Specialists roleplaying servers that want admin-only models.

When a user changes their model the plugin will check to see whether or not the model is restricted. If it is, the plugin will set the user's model to the last one they were using. If they join the game with a restricted model, the plugin will set the user's model to whichever you specify as the default (default "gordon").

Additionally, you can specify if you want to precache certain player models. This way you can force users to download your models, but restrict their use on your server.

You control which player models are restricted and which ones are precached via a .ini file. The default path for this is "addons/amxmodx/data/modelrestrict.ini". Place the name of a player model to restrict it (one per line), and place a "P* " before the name to precache it (precaching it does not restrict it). Here is an example:

Quote:

Originally Posted by addons/amxmodx/data/modelrestrict.ini
; Avalanche's ModelRestrict
ia2
KMAPcar
explovan
fordvan
forklift
xxavalanchexx
P* xxavalanchexx
P* collector-zombie2

This will restrict the following player models: ia2, KMAPcar, explovan, fordvan, forklikt, xxavalanchexx. This will force the user to download the following player models (if they do not have them): xxavalanchexx, collector-zombie2.

Also included is an amx_setmodel <target> <model> command to force a user to change their player model.

In the future I plan to add wildcard matching and a flood control for model changing.

gregg 05-30-2005 10:53

I know this is old, but i plan on using this in a few days. Is there a way that i can change this to restrict all the models NOT on that list? For example if I only wanted collector-civilian, collector-cop, and hitman, is there a way i can only allow these models to be available (just so i dont have idiots running around with the hellspawn model).

HexD 08-16-2006 14:11

Re: ModelRestrict
 
Can this be made to work for weapons?

sixcentgeorge 08-30-2006 10:21

Re: ModelRestrict
 
i use it to precache :
P* gsg9
P* guerilla
P* terror
P* urban
so i can use win32 addons\amxmodx\dlls\mapedit_mm.dll to modify some entities in other mod than cs1.6

CPeanutG 05-11-2007 23:40

Re: ModelRestrict
 
Great plugin but...

On reconnect an admin has their model set back to the default model (gordon) yet they can change to the restricted model when they are in game.

Cocoajoe 01-30-2009 10:20

Re: ModelRestrict
 
Can this plugin also restrict models to everyone, including admins?

I run a TSRP server and I don't want to see people in Chuck Norris, Naruto, Cyborgs, Robots, Ninjas running all over the place.

arineod 06-18-2009 17:46

Re: ModelRestrict
 
Quote:

Originally Posted by gregg (Post 116704)
I know this is old, but i plan on using this in a few days. Is there a way that i can change this to restrict all the models NOT on that list? For example if I only wanted collector-civilian, collector-cop, and hitman, is there a way i can only allow these models to be available (just so i dont have idiots running around with the hellspawn model).

yeah ,that would be awesome. Also, will this work on half-life 1 DM servers?

GordonFreeman (RU) 01-06-2010 03:11

Re: ModelRestrict
 
Why this need?

leifont 03-17-2011 13:33

Re: ModelRestrict
 
I'm trying to restrict people using different models than originals by renaming new models wich original's names. Can I use this plugin? I' not sure how. Thanks.

Tonblader 05-08-2016 23:43

Re: ModelRestrict
 
How can change the access flag A - inmunity to Access Flag G - flag S


All times are GMT -4. The time now is 12:38.

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