AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   How to make that when trying to defuse such amount of times this happens (https://forums.alliedmods.net/showthread.php?t=317241)

siprem10 07-04-2019 16:16

How to make that when trying to defuse such amount of times this happens
 
Is there a plugin or will someone know how to do it?


I need to do that has determined a number of times that you try to defuse the c4, the bomb explodes or is defusee.

Can it be done that if the bomb_defusing event is called so many times of defusee or it explodes before the c4?

Thanks!

OciXCrom 07-04-2019 17:23

Re: How to make that when trying to defuse such amount of times this happens
 
There is an event for each one of those cases. Simply create some variables and increment them by 1 when the event gets called.

thEsp 07-05-2019 02:58

Re: How to make that when trying to defuse such amount of times this happens
 
Use the appropriate section, as you're requesting something.

siprem10 07-07-2019 16:28

Re: How to make that when trying to defuse such amount of times this happens
 
1 Attachment(s)
Quote:

Originally Posted by OciXCrom (Post 2657769)
There is an event for each one of those cases. Simply create some variables and increment them by 1 when the event gets called.


Well, it is very likely that the code is disgusting, I just started with this I do not know much.


For the moment what it does is that every time someone tries to defuse subtract 1 second then defuse faster.


As I do if I want to subtract 1 second only to whom I try to defuse and not all my colleagues?

Relaxing 07-08-2019 05:41

Re: How to make that when trying to defuse such amount of times this happens
 
If think that OP is trying to catch a script that makes your defuse silent by spam pressing E.


All times are GMT -4. The time now is 17:22.

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