Skip to content

Commit

Permalink
2022_1_6 updated
Browse files Browse the repository at this point in the history
  • Loading branch information
fbef0102 committed Jan 6, 2022
1 parent 586f5d2 commit 551cfe0
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 4 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -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
Expand Down
Binary file modified l4d2_item_hint/plugins/l4d2_item_hint.smx
Binary file not shown.
3 changes: 2 additions & 1 deletion l4d2_item_hint/readme
Original file line number Diff line number Diff line change
@@ -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
Expand Down
4 changes: 2 additions & 2 deletions l4d2_item_hint/scripting/l4d2_item_hint.sp
Original file line number Diff line number Diff line change
Expand Up @@ -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"
};

Expand Down Expand Up @@ -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);
Expand Down

0 comments on commit 551cfe0

Please sign in to comment.