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

Players Models 1.3.1 ( 13 nov 2010 )


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Plugin Info:     Modification:   Counter-Strike        Category:   General Purpose        Approver:   Hawk552 (427)
ConnorMcLeod
Veteran Member
Join Date: Jul 2006
Location: France (95)
Old 10-11-2009 , 15:31   Players Models 1.3.1 ( 13 nov 2010 )
Reply With Quote #1

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 :
Code:
// replace default skins
"defaultname" "newname"

// set skin according to steamid
"STEAM_0:1:23456789" "terrorist_model" "ct_model"
Example :
Code:
// 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 :.


Code:
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)

EDIT : All posts from #2 to #15 may seems weird as i changed a bit the plugin name and purpose.
Attached Files
File Type: ini players_models.ini (174 Bytes, 37186 views)
File Type: sma Get Plugin or Get Source (players_models.sma - 46207 views - 6.6 KB)
__________________
- tired and retired -

- my plugins -

Last edited by ConnorMcLeod; 12-12-2010 at 07:29.
ConnorMcLeod is offline
 



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 13:57.


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