Quote:
Originally Posted by e54385991
CSGO Store Module: Store Custom Weapon Models v2.1
2.1
Added support for world models(KeyValue Option :worldmodel)
PHP Code:
"anime awp" { "model" "models/weapons/v_animeawp.mdl" "worldmodel" "models/weapons/w_animeawp.mdl" "entity" "weapon_awp" "price" "50" "type" "CustomModel" "slot" "1" }
3.0 14/01/2016
Test Interface 3.0
Added support for dropped weapon models(keyvalue : "dropmodel").
For example
"Miku awp"
{
"model" "models/weapons/v_hmikuawp.mdl"
"worldmodel" "models/weapons/w_hmikuawp.mdl"
"dropmodel" "models/weapons/w_hmikuawp.mdl"
"entity" "weapon_awp"
"price" "300"
"type" "CustomModel"
"slot" "1"
}
1.Require Plugin: [ANY] First Person View Models Interface 2.0 or high https://forums.alliedmods.net/showthread.php?t=276697
2.Edit translations/store.phrases.txt
+
PHP Code:
"CustomModel" { "en" "Custom Weapon Model:" }
Put !!store_custom_model.smx to sourcemod/plugins
configs/store/items.txt
+
PHP Code:
"Store" { "Custom Knives" { "Tri-Dagger Black" { "model" "models/weapons/v_knife_tridagger_v2.mdl" "entity" "weapon_knife" "price" "50" "type" "CustomModel" "slot" "0" } "Tri-dagger Steel" { "model" "models/weapons/v_knife_tridagger_steel.mdl" "entity" "weapon_knife" "price" "100" "type" "CustomModel" "slot" "0" } "Black Dagger" { "model" "models/weapons/v_knife_reaper.mdl" "entity" "weapon_knife" "price" "200" "type" "CustomModel" "slot" "0" } "Kabar" { "model" "models/weapons/v_knife_kabar_v2.mdl" "entity" "weapon_knife" "price" "300" "type" "CustomModel" "slot" "0" } "CS 1.6 Knife" { "model" "models/weapons/crashz.mdl" "entity" "weapon_knife" "price" "400" "type" "CustomModel" "slot" "0" } "Ultimate Knife" { "model" "models/weapons/v_knife_ultimate.mdl" "entity" "weapon_knife" "price" "500" "type" "CustomModel" "slot" "0" } "Gong fu" { "model" "models/weapons/v_gongfu.mdl" "entity" "weapon_knife" "price" "600" "type" "CustomModel" "slot" "0" } "Caleon" { "model" "models/weapons/caleon1/screwdriver/v_knife_screwdriver.mdl" "worldmodel" "models/weapons/caleon1/screwdriver/w_knife_screwdriver.mdl" "entity" "weapon_knife" "price" "600" "type" "CustomModel" "slot" "0" } } "Custom Weapons" { "Miku awp" { "model" "models/weapons/v_hmikuawp.mdl" "worldmodel" "models/weapons/w_hmikuawp.mdl" "entity" "weapon_awp" "price" "300" "type" "CustomModel" "slot" "1" } "Anime awp" { "model" "models/weapons/v_animeawp.mdl" "worldmodel" "models/weapons/w_animeawp.mdl" "entity" "weapon_awp" "price" "50" "type" "CustomModel" "slot" "1" } "Dual finity" { "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" } } }
3.Restart Server
model download:
https://forums.alliedmods.net/showthread.php?t=276733
or :
https://onedrive.live.com/redir?resi...hint=folder%2c
Attachment 150898
Attachment 150825
Attachment 150826
Attachment 150827
Attachment 150828
Attachment 150831
[IMG] Attachment 150901[/IMG]
Attachment 150899Attachment 150900
|
thanks for that but i can not change too a custom knife he say me only that
PHP Code:
L 12/10/2017 - 22:50:46: Info (map "bhop_distant_tnn_extended") (file "errors_20171210.log")
L 12/10/2017 - 22:50:46: [SM] Exception reported: Cannot set m_iItemIDLow with "FollowCSGOServerGuidelines" option enabled.
L 12/10/2017 - 22:50:46: [SM] Blaming: fpvm_interface.smx
L 12/10/2017 - 22:50:46: [SM] Call stack trace:
L 12/10/2017 - 22:50:46: [SM] [0] SetEntProp
L 12/10/2017 - 22:50:46: [SM] [1] Line 226, fpvm_interface.sp::OnPostWeaponEquip
L 12/10/2017 - 22:50:46: [SM] [3] ChangeClientTeam
L 12/10/2017 - 22:50:46: [SM] [4] Line 301, teamchange_unlimited.sp::TeamChangeActual
L 12/10/2017 - 22:50:46: [SM] [5] Line 204, teamchange_unlimited.sp::JoinTeamCmd
L 12/10/2017 - 22:50:46: [SM] Exception reported: Cannot set m_iItemIDLow with "FollowCSGOServerGuidelines" option enabled.
L 12/10/2017 - 22:50:46: [SM] Blaming: fpvm_interface.smx
L 12/10/2017 - 22:50:46: [SM] Call stack trace:
L 12/10/2017 - 22:50:46: [SM] [0] SetEntProp
L 12/10/2017 - 22:50:46: [SM] [1] Line 226, fpvm_interface.sp::OnPostWeaponEquip
L 12/10/2017 - 22:50:57: [SM] Exception reported: Cannot set m_iItemIDLow with "FollowCSGOServerGuidelines" option enabled.
L 12/10/2017 - 22:50:57: [SM] Blaming: fpvm_interface.smx
L 12/10/2017 - 22:50:57: [SM] Call stack trace:
L 12/10/2017 - 22:50:57: [SM] [0] SetEntProp
L 12/10/2017 - 22:50:57: [SM] [1] Line 226, fpvm_interface.sp::OnPostWeaponEquip
L 12/10/2017 - 22:50:57: [SM] [3] GivePlayerItem
L 12/10/2017 - 22:50:57: [SM] [4] Line 599, fpvm_interface.sp::RefreshWeapon
L 12/10/2017 - 22:50:57: [SM] [5] Line 495, fpvm_interface.sp::Native_SetWeapon
L 12/10/2017 - 22:50:57: [SM] [7] FPVMI_SetClientModel
L 12/10/2017 - 22:50:57: [SM] [8] Line 119, E:\Users\e54385991\Desktop\store_custom_model.sp::CustomModelEquip
L 12/10/2017 - 22:50:57: [SM] [10] Call_Finish
L 12/10/2017 - 22:50:57: [SM] [11] Line 2963, store.sp::Store_UseItem
L 12/10/2017 - 22:50:57: [SM] [12] Line 1862, store.sp::MenuHandler_Item
L 12/10/2017 - 22:51:02: [SM] Exception reported: Cannot set m_iItemIDLow with "FollowCSGOServerGuidelines" option enabled.
L 12/10/2017 - 22:51:02: [SM] Blaming: fpvm_interface.smx
L 12/10/2017 - 22:51:02: [SM] Call stack trace:
L 12/10/2017 - 22:51:02: [SM] [0] SetEntProp
L 12/10/2017 - 22:51:02: [SM] [1] Line 226, fpvm_interface.sp::OnPostWeaponEquip
L 12/10/2017 - 22:51:02: [SM] [3] GivePlayerItem
L 12/10/2017 - 22:51:02: [SM] [4] Line 599, fpvm_interface.sp::RefreshWeapon
L 12/10/2017 - 22:51:02: [SM] [5] Line 525, fpvm_interface.sp::Native_RemoveViewWeapon
L 12/10/2017 - 22:51:02: [SM] [7] FPVMI_RemoveViewModelToClient
L 12/10/2017 - 22:51:02: [SM] [8] Line 128, E:\Users\e54385991\Desktop\store_custom_model.sp::CustomModelRemove
L 12/10/2017 - 22:51:02: [SM] [10] Call_Finish
L 12/10/2017 - 22:51:02: [SM] [11] Line 2991, store.sp::Store_UnequipItem
L 12/10/2017 - 22:51:02: [SM] [12] Line 1902, store.sp::MenuHandler_Item
L 12/10/2017 - 22:51:02: [SM] Exception reported: Cannot set m_iItemIDLow with "FollowCSGOServerGuidelines" option enabled.
L 12/10/2017 - 22:51:02: [SM] Blaming: fpvm_interface.smx
L 12/10/2017 - 22:51:02: [SM] Call stack trace:
L 12/10/2017 - 22:51:02: [SM] [0] SetEntProp
L 12/10/2017 - 22:51:02: [SM] [1] Line 244, fpvm_interface.sp::OnPostWeaponEquip
L 12/10/2017 - 22:51:02: [SM] [3] GivePlayerItem
L 12/10/2017 - 22:51:02: [SM] [4] Line 599, fpvm_interface.sp::RefreshWeapon
L 12/10/2017 - 22:51:02: [SM] [5] Line 544, fpvm_interface.sp::Native_RemoveWorldWeapon
L 12/10/2017 - 22:51:02: [SM] [7] FPVMI_RemoveWorldModelToClient
L 12/10/2017 - 22:51:02: [SM] [8] Line 131, E:\Users\e54385991\Desktop\store_custom_model.sp::CustomModelRemove
L 12/10/2017 - 22:51:02: [SM] [10] Call_Finish
L 12/10/2017 - 22:51:02: [SM] [11] Line 2991, store.sp::Store_UnequipItem
L 12/10/2017 - 22:51:02: [SM] [12] Line 1902, store.sp::MenuHandler_Item
L 12/10/2017 - 22:51:02: [SM] Exception reported: Cannot set m_iItemIDLow with "FollowCSGOServerGuidelines" option enabled.
L 12/10/2017 - 22:51:02: [SM] Blaming: fpvm_interface.smx
L 12/10/2017 - 22:51:02: [SM] Call stack trace:
L 12/10/2017 - 22:51:02: [SM] [0] SetEntProp
L 12/10/2017 - 22:51:02: [SM] [1] Line 226, fpvm_interface.sp::OnPostWeaponEquip
L 12/10/2017 - 22:51:02: [SM] [3] GivePlayerItem
L 12/10/2017 - 22:51:02: [SM] [4] Line 599, fpvm_interface.sp::RefreshWeapon
L 12/10/2017 - 22:51:02: [SM] [5] Line 495, fpvm_interface.sp::Native_SetWeapon
L 12/10/2017 - 22:51:02: [SM] [7] FPVMI_SetClientModel
L 12/10/2017 - 22:51:02: [SM] [8] Line 119, E:\Users\e54385991\Desktop\store_custom_model.sp::CustomModelEquip
L 12/10/2017 - 22:51:02: [SM] [10] Call_Finish
L 12/10/2017 - 22:51:02: [SM] [11] Line 2963, store.sp::Store_UseItem
L 12/10/2017 - 22:51:02: [SM] [12] Line 1862, store.sp::MenuHandler_Item
how i can fix that?
EDIT SOLVED: in the config / core.cfg , change FollowCSGovernerGuidelines in no.