AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   C4 Cvar (https://forums.alliedmods.net/showthread.php?t=172095)

Dark Style 11-15-2011 10:31

C4 Cvar
 
How can I hook mp_c4timer to block the message ?

ConnorMcLeod 11-15-2011 12:12

Re: C4 Cvar
 
Which message are you talking about ? :roll:

Dark Style 11-15-2011 12:16

Re: C4 Cvar
 
Code:

"mp_c4timer" changed to "10"

ConnorMcLeod 11-15-2011 12:20

Re: C4 Cvar
 
You could use Arkshine's plugin CvarUtilities.
But if it is only for c4, you can check its value in new round HLTV event and change it to the value you want there, the game with store its value in memory at this time so the value you set at this time is the value that is used in the whole following round.

Dark Style 11-15-2011 12:20

Re: C4 Cvar
 
If I put mp_c4timer 2 in HLTV event, the game change to mp_c4timer 10

ConnorMcLeod 11-15-2011 14:27

Re: C4 Cvar
 
Yes, because the game allow to set it from 10 to 90 (i think it's 90).
There is a plugin by arkshine that unlocks those limitations (c4, roundtime, money etc..) : http://forums.alliedmods.net/showthread.php?p=1112215


All times are GMT -4. The time now is 08:31.

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