PLUGIN - cm-cs2-defaultskins

Spatiul dedicat dezvoltatorilor. Aici gasesti resurse pentru CounterStrikeSharp, ajutor pentru cod si scripting avansat.
Post Reply
User avatar
greenie
Full Member
Full Member
Posts: 2389
Joined: Sun Nov 21, 2021 4:55 pm
Jucator SA:MP ?: Nu
Nick:: greenie
Jucator CS ?: Da

PLUGIN - cm-cs2-defaultskins

Post by greenie »

Challengermode CS2 DefaultSkins
DefaultSkins is a simple but useful plugin for CS2 based on the awesome CounterStrikeSharp by roflmuffin. Sets player models to default skin for competitive play.

It also serves as example code for the community on how to use SetModel. Feel free to contribute and maintain it. It is intended to be light weight.

Valve Server Guidelines
Make sure to read and comply with the Server guidelines when using SetModel.

Bump CCS version
dotnet add package CounterStrikeSharp.API -v x.x.xx

Build
dotnet build

Install steps
Install CounterStrikeSharp and Metamod on server
Copy .dll file from /bin/debug/net8.0 and place it in cs2/addons/CounterstrikeSharp/Plugins/DefaultSkins/DefaultSkins.dll
How to use
cm_default_skins 1 to enable and cm_default_skins 0 to disable the default skin enforcement.

cm_heavy_model 1 if you want to force heavy models on all of the players and cm_heavy_model 0 stop using heavy models

https://github.com/Challengermode/cm-cs ... s/main.zip
π‘΄π’‚π’šπ’ƒπ’† 𝒕𝒉𝒆 𝑬𝒂𝒓𝒕𝒉 π’Šπ’” 𝒕𝒉𝒆 𝑯𝒆𝒍𝒍 𝒐𝒇 𝑨𝒏𝒐𝒕𝒉𝒆𝒓 𝑷𝒍𝒂𝒏𝒆𝒕... ☒️
Post Reply

Return to β€œScripting CS2”