AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Plugin/Gameplay Ideas and Requests (https://forums.alliedmods.net/forumdisplay.php?f=60)
-   -   [L4D2] !buy plugin dead also points deduction (https://forums.alliedmods.net/showthread.php?t=342628)

leaffan 04-30-2023 11:33

[L4D2] !buy plugin dead also points deduction
 
1 Attachment(s)
Hello,

'When a user uses !buy while dead, their score is deducted' in the attached !buy plugin.

But if you use it while dead, the score should not go away, can anyone fix this?

Thanks.

Plugin source: https://forums.alliedmods.net/showpost.php?p=2719385

Marttt 05-01-2023 10:51

Re: [L4D2] !buy plugin dead also points deduction
 
I don't think it is an issue, you will have more bugs enabling it.
Anyway you can find the code where deducts and just add a "if (IsPlayerAlive(client))" check (google some examples)

leaffan 05-01-2023 13:06

Re: [L4D2] !buy plugin dead also points deduction
 
Quote:

Originally Posted by Marttt (Post 2803739)
I don't think it is an issue, you will have more bugs enabling it.
Anyway you can find the code where deducts and just add a "if (IsPlayerAlive(client))" check (google some examples)

I don't have general knowledge about coding, I don't know how to use the coding you mentioned. Where and how and why do we add that coding? What will it change?

Thanks.


All times are GMT -4. The time now is 23:40.

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