Players Models 1.3.1

Post Reply
greenie
Full Member
Full Member
Posts: 1815
Joined: Sun Nov 21, 2021 4:55 pm
Jucator SA:MP ?: Nu
Nick:: greenie
Jucator CS ?: Nu

Players Models 1.3.1

Post by greenie »

Players Models




.: Description :.


I made this plugin for testing purpose (for now), to see if there are no svc_bad and i post it here as i can't test it on a more than 18 slots server.

It allows to set players models according to steamid, or to replace default models.



.: Config File :.


I assume here that you know that when a model name is "blabla",
you know that the only place to put it on server ftp is $moddir/models/player/blabla/,
so the ful path is $moddir/models/player/blabla/blabla.mdl,
because it is the only way player models work on half-life and mods.


$configsdir/players_models.ini
Syntax :
// replace default skins
"defaultname" "newname"

// set skin according to steamid
"STEAM_0:1:23456789" "terrorist_model" "ct_model"
Example :
// replace default skins
"sas" "batman"
"gign" "robin"

// set skin according to steamid
"STEAM_0:1:23456789" "benladen" "vip"
"BOT" "" "gign"
.: Modules / Requirements :.


Cstrike
Fakemeta
Amxx 1.8.?.3706 or greater


.: Note :.



Models names sizes max length is 16 (not the full path).

This plugin doesn't support and won't ever support model setting by name or ip.
Non-steam users please search on another website.

.: Changelog :.
11.01.09 v1.2.2
- modelindex deactivated by default, uncomment the define at top of .sma to enable it

11.03.09 v1.3.0 (5900 DLs)
- use model that the game tries to set on player instead of internal model index, bugs due to cs_set_user_team should be fixed

11.13.10 v1.3.1
- Fix replacing a default model with another default model was not working on servers using .cfg files.
- Fix a bug where strbreak was giving blank left part of string (now uses parse)
get plugin
get source
Post Reply

Return to “General Purpose”