diff --git a/README.md b/README.md index 30b177d0..2e73a012 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,6 @@ # L4D2-Plugins by Harry Potter L4D2 Competitive enhancement, bug/glitch fixes, general purpose and freaky-fun plugins. ->All plugins in here only apply to L4D2 (last edited:2021/12/23) +>All plugins in here only apply to L4D2 (last edited:2022/1/6) # Appreciate my work, you can [PayPal Donate](https://paypal.me/Harry0215?locale.x=zh_TW) me. If you want any modify or request, free to use or pay me money to do it. # Require diff --git a/l4d2_item_hint/plugins/l4d2_item_hint.smx b/l4d2_item_hint/plugins/l4d2_item_hint.smx index 210f5f0f..0ac239fe 100644 Binary files a/l4d2_item_hint/plugins/l4d2_item_hint.smx and b/l4d2_item_hint/plugins/l4d2_item_hint.smx differ diff --git a/l4d2_item_hint/readme b/l4d2_item_hint/readme index 0a2d1ceb..0b743146 100644 --- a/l4d2_item_hint/readme +++ b/l4d2_item_hint/readme @@ -1,12 +1,13 @@ When using 'Look' in vocalize menu, print corresponding item to chat area and make item glow or create spot marker like back 4 blood. -ChangeLog- -v0.7 +v0.8 -Add all gun weapons, melee weapons, minigun, ammo and items. -Add cooldown. -Add Item Glow, everyone can see the item through wall. -Add Spot Mark, using 'Look' in vocalize menu to mark the area. -Add sound. +-Fixes custom vocalizers that uses SmartLook with capitals. v0.2 -Original Post: https://forums.alliedmods.net/showthread.php?t=333669 diff --git a/l4d2_item_hint/scripting/l4d2_item_hint.sp b/l4d2_item_hint/scripting/l4d2_item_hint.sp index 09bc6bbf..42e63bd4 100644 --- a/l4d2_item_hint/scripting/l4d2_item_hint.sp +++ b/l4d2_item_hint/scripting/l4d2_item_hint.sp @@ -35,7 +35,7 @@ public Plugin myinfo = name = "L4D2 Item hint", author = "BHaType, fdxx, HarryPotter", description = "When using 'Look' in vocalize menu, print corresponding item to chat area and make item glow or create spot marker like back 4 blood.", - version = "0.7", + version = "0.8", url = "https://forums.alliedmods.net/showpost.php?p=2765332&postcount=30" }; @@ -289,7 +289,7 @@ public Action Vocalize_Listener(int client, const char[] command, int argc) static char sCmdString[32]; if (GetCmdArgString(sCmdString, sizeof(sCmdString)) > 1) { - if (strncmp(sCmdString, "smartlook #", 11) == 0 && GetEngineTime() > fCoolDownTime[client]) + if (strncmp(sCmdString, "smartlook #", 11, false) == 0 && GetEngineTime() > fCoolDownTime[client]) { static int iEntity; iEntity = GetUseEntity(client, g_fItemUseHintRange);