weapons icon indicating copy to clipboard operation
weapons copied to clipboard

Added 2 new cvars to enable C4 and enable all skins.

Open rogeraabbccdd opened this issue 1 year ago • 5 comments

  • Added new cvar sm_weapons_enable_c4 to enable skins on C4.
  • Added new cvar sm_weapons_enable_all_skins to enable all skins on all weapons.

rogeraabbccdd avatar Mar 26 '23 11:03 rogeraabbccdd

Translation error.

penalte avatar Apr 06 '23 21:04 penalte

@rogeraabbccdd

L 04/07/2023 - 21:19:53: [SM] Exception reported: Language phrase "weapon_c4" not found (arg 5)

L 04/07/2023 - 21:19:53: [SM] Blaming: weapons.smx

L 04/07/2023 - 21:19:53: [SM] Call stack trace:

L 04/07/2023 - 21:19:53: [SM]   [0] Menu.SetTitle

L 04/07/2023 - 21:19:53: [SM]   [1] Line 65, weapons\config.sp::ReadConfig

L 04/07/2023 - 21:19:53: [SM]   [2] Line 66, weapons\forwards.sp::OnConfigsExecuted

[EDIT] Fix translations en: weapons.phrases.txt

crashzk avatar Apr 08 '23 00:04 crashzk

Added all skins menu for each weapon when sm_weapons_enable_all_skins is enabled.

20230408152548_1 20230408152552_1

rogeraabbccdd avatar Apr 08 '23 07:04 rogeraabbccdd

@rogeraabbccdd just a feedback, so far everything is going well with this change.

I would also like to know if you could take a look at this suggestion (Live StatTrak(tm) Update): https://github.com/kgns/weapons/issues/177

Would it be possible to carry out the implementation together with this PR, or do you believe that it would be a lot of modifications and with that a separate PR? And of course, if you could do that.

crashzk avatar Apr 10 '23 20:04 crashzk

while trying to compile i have warnings and it gives me error logs. Which sourcemod compiler version did you use while coding? Error log L 05/28/2023 - 17:30:34: [SM] Warning: plugin weapons.smx is using more than 100000 handles!

image

emrahkaraduman avatar May 28 '23 15:05 emrahkaraduman