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:
Originally Posted by addons/amxmodx/data/modelrestrict.ini
; Avalanche's ModelRestrict
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.