Raised This Month: $12 Target: $400
 3% 

Solved L4D2 Request this smx,sp


Post New Thread Reply   
 
Thread Tools Display Modes
HarryPotter
Veteran Member
Join Date: Sep 2017
Location: Taiwan, Asia
Old 09-25-2021 , 00:15   Re: L4D2 Request this plugin, Special reminder
Reply With Quote #21

Quote:
Originally Posted by yabi View Post

I uploaded the file
Some of the contents in it are working and there has been no response

檔案我傳上來了
裡面的內容 有一些都作用了 一直沒有反應
So what is the problem "no response" you talking about????
I download your file and test, I can see the chinese report.

__________________
HarryPotter is offline
yabi
Senior Member
Join Date: Jun 2021
Location: Taiwan
Old 09-25-2021 , 13:01   Re: L4D2 Request this plugin, Special reminder
Reply With Quote #22

Quote:
Originally Posted by HarryPotter View Post
So what is the problem "no response" you talking about????
I download your file and test, I can see the chinese report.


我丟錯資料了,是這一個才對

I lost the wrong information, this one is right
Attached Files
File Type: sp Get Plugin or Get Source (l4d2_skill_detect.sp - 76 views - 124.3 KB)

Last edited by yabi; 09-25-2021 at 13:02. Reason: 123
yabi is offline
yabi
Senior Member
Join Date: Jun 2021
Location: Taiwan
Old 09-25-2021 , 23:16   Re: L4D2 Request this plugin, Special reminder
Reply With Quote #23

Quote:
Originally Posted by HarryPotter View Post
So what is the problem "no response" you talking about????
I download your file and test, I can see the chinese report.


☆ XX 推停了飞扑的 Hunter.
☆ Ellis 在 0.16 秒内从特感 charger 手里救出了被控的队友 Coach.
☆ 玩家 XX 把正在呕吐的 Boomer 推停了. (0.7 秒)

None of these show

Last edited by yabi; 09-25-2021 at 23:17. Reason: !
yabi is offline
HarryPotter
Veteran Member
Join Date: Sep 2017
Location: Taiwan, Asia
Old 09-26-2021 , 04:51   Re: L4D2 Request this plugin, Special reminder
Reply With Quote #24

Quote:
Originally Posted by yabi View Post
☆ XX 推停了飞扑的 Hunter.
☆ Ellis 在 0.16 秒内从特感 charger 手里救出了被控的队友 Coach.
☆ 玩家 XX 把正在呕吐的 Boomer 推停了. (0.7 秒)

None of these show
給你一個知識
sp檔案看源碼如果出現上下行出現 /* */符號
代表不會運作, 這是被註解掉的區塊
譬如行2508~行2518
PHP Code:
    /*if (GetConVarBool(g_hCvarReport))
    {
        if ( IS_VALID_INGAME(attacker) && IS_VALID_INGAME(victim) && !IsFakeClient(victim) )
        {
            CPrintToChatAll( "{green}★ {olive}%N {blue}deadstopped {olive}%N", attacker, victim );
        }
        else if ( IS_VALID_INGAME(attacker) )
        {
            CPrintToChatAll( "{green}★ {olive}%N {blue}deadstopped {olive}a hunter", attacker );
        }
    }*/ 
上下有 /* 與 */符號, 所以不會打印報告
你必須自己刪除那些符號,改成這樣子

PHP Code:
    if (GetConVarBool(g_hCvarReport))
    {
        if ( 
IS_VALID_INGAME(attacker) && IS_VALID_INGAME(victim) && !IsFakeClient(victim) )
        {
            
CPrintToChatAll"{green}★ {olive}%N {blue}deadstopped {olive}%N"attackervictim );
        }
        else if ( 
IS_VALID_INGAME(attacker) )
        {
            
CPrintToChatAll"{green}★ {olive}%N {blue}deadstopped {olive}a hunter"attacker );
        }
    } 

建議你下載notepad++編輯器
sp檔案用notepad++編輯器打開
上方工具列語言選擇C++,出現一大片綠色部分就代表這是被註解掉的區塊
__________________

Last edited by HarryPotter; 09-26-2021 at 04:55.
HarryPotter is offline
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 16:29.


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