[L4D2] Item hint
2 Attachment(s)
Improved version of HarryPotter
Description:
Related Plugins:
Thanks:
|
Re: [L4D2] Item hint
cool plugin, I love it :)
I add more models PHP Code:
|
Re: [L4D2] Item hint
thanks guys. nice plugin! similar to this one but simpler, which i prefer.
in addition to HarryPotter, here's a few more models if interested: PHP Code:
|
Re: [L4D2] Item hint
Not available
Why? Is it malfunctioning? |
Re: [L4D2] Item hint
Quote:
|
Re: [L4D2] Item hint
Quote:
I pressed the button z, when I looked at the item, it was not displayed in the chat window |
Re: [L4D2] Item hint
Should probably mention how to install such as the .txt goes into gamedata.
Using "StrContains" is kinda inefficient for this, I assume it's always going to be "vocalize smartlook #" so just use strncmp(sCmdString[9], "smartlook #", 11) == 0 to start matching from the 10th character and only matching those 11 characters. It's unnecessary to have the string size sCmdString[256] you can use something like 32. It would be faster to replace "g_sItems" array with a StringMap and then searching if the value exists in there with the StringMap natives instead of looping through the array. Fill the StringMap with the data in plugin start. |
Re: [L4D2] Item hint
Quote:
do you check error.log? |
Re: [L4D2] Item hint
Quote:
This kind of plug-in shouldn't... Can it only be used on dedicated servers? The local server cannot be used?:( |
Re: [L4D2] Item hint
Quote:
檢查插件有沒有在執行 控制台打上 PHP Code:
addons/sourcemod/logs/error.log |
All times are GMT -4. The time now is 23:40. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.