e54385991 is the original author! I just added kgns's weapons support.
- First Person View Models
- CS:GO Custom Weapon Options (Skins, NameTag, StatTrak, Wear/Float, Knives) (Optional)
- Add the above requirement plugin(s) in your server.
- Add the following to addons/sourcemod/translations/store.phrases.txt
"CustomModel"
{
"en" "Custom Weapon Model:"
}
- Add model(s) like the following examples:
"Tri-Dagger Black"
{
"model" "models/weapons/v_knife_tridagger_v2.mdl"
"entity" "weapon_knife"
"price" "50"
"type" "CustomModel"
"slot" "0"
}
"Anime awp"
{
"model" "models/weapons/v_animeawp.mdl"
"worldmodel" "models/weapons/w_animeawp.mdl"
"entity" "weapon_awp"
"price" "50"
"type" "CustomModel"
"slot" "1"
}
"Dual infinity"
{
"model" "models/weapons/v_pist_dualinfinity.mdl"
"entity" "weapon_elite"
"price" "150"
"type" "CustomModel"
"slot" "2"
}
"HE-Grenade Pokeball"
{
"model" "models/weapons/v_hegrenade_pokeball.mdl"
"entity" "weapon_hegrenade"
"price" "100"
"type" "CustomModel"
"slot" "3"
}
- Add store_custom_model.smx by downloading from this github to addons/sourcemod/plugins folder.
- Restart server!
What's different from this? When using e54385991's plugin + kgns plugin and player equip custom knife model along with !knife that is not default knife, all player's console gets spammed by a message (forgot the exact message lol). So this automatically sets player's knife to default when custom knife is equipped and doesn't allow player having custom knife model to use !knife.