AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Unapproved Plugins (https://forums.alliedmods.net/forumdisplay.php?f=109)
-   -   [L4D2] Item Convert (Medicine and Ammo Pack) v1.7【deprecated】 (https://forums.alliedmods.net/showthread.php?t=340637)

little_froy 11-30-2022 04:19

[L4D2] Item Convert (Medicine and Ammo Pack) v1.7【deprecated】
 
(deprecated).

Silvers 11-30-2022 05:45

Re: [L4D2] Convert Item In Hand(Medicinal and Ammo pack) v1.0.0【2022-11-30】
 
- You should use OnPlayerRunCmd or OnPlayerRunCmdPost instead of OnGameFrame for this.
- I would even make this "static char" to avoid re-creating as it's used often.
- "char class_name[PLATFORM_MAX_PATH]" this is for file path sizes, should probably set to [32] or [64] to be safe, although I don't think any classname is longer than 32.
- Why "tabsize 0" and not replace all " " 4 spaces with tabs? You get a smaller file size, spaces just seem odd.
- I'm guessing you got the idea from Switch Upgrade Packs Type by NoroHime, no credit?


All times are GMT -4. The time now is 09:43.

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