AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Suggestions / Requests (https://forums.alliedmods.net/forumdisplay.php?f=12)
-   -   [Req] Spawn Protection doesn't glow the whole time (https://forums.alliedmods.net/showthread.php?t=176598)

yOou Know Me 01-20-2012 11:20

[Req] Spawn Protection doesn't glow the whole time
 
Hi all, i've set the protection time for 3 seconds, but the glow lasts only for 2 seconds i tried with 5 seconds protection time, but the glow is still only 2 seconds long... can you make the glow last for 3 seconds and i'll make the cvar 3 for seconds and all will be fine ?

This is the plugin:
http://forums.alliedmods.net/showthr...awn+protection

The author has not been active for some monts now.. that's why i'm writing this request.

bibu 01-20-2012 16:09

Re: [Req] Spawn Protection doesn't glow the whole time
 
Try this:

http://forums.alliedmods.net/showpos...&postcount=365

ConnorMcLeod 01-20-2012 17:21

Re: [Req] Spawn Protection doesn't glow the whole time
 
6 Attachment(s)
Try this :


ChangeLog :
Spoiler


Source Code :
Spoiler

Lolz0r 01-21-2012 06:03

Re: [Req] Spawn Protection doesn't glow the whole time
 
Are you going to add hud timer? Example: Spawn Protection expires in "5-4-3-2-1" second.

ConnorMcLeod 01-21-2012 07:13

Re: [Req] Spawn Protection doesn't glow the whole time
 
I'm using a thinking ent that thinks every 0.3secs so the protection time is not very accurate (glow and protection matches though), so a timer would be false.

Should create my own entity in order to add a timer, not sure i want to to that :)

yOou Know Me 01-24-2012 12:27

Re: [Req] Spawn Protection doesn't glow the whole time
 
Quote:

Originally Posted by ConnorMcLeod (Post 1635869)
I'm using a thinking ent that thinks every 0.3secs so the protection time is not very accurate (glow and protection matches though), so a timer would be false.

Should create my own entity in order to add a timer, not sure i want to to that :)

The protection doesn't dissapear, we can't kill eachother. And we glow all the time.

Lolz0r 09-15-2012 10:48

Re: [Req] Spawn Protection doesn't glow the whole time
 
@Connor, I don't know if the cvar is working or not, but no matter how much seconds I set to the protection and glow it's infinity, can you fix that ?

ConnorMcLeod 09-16-2012 00:21

Re: [Req] Spawn Protection doesn't glow the whole time
 
Should be fixed in version 0.0.4

Lolz0r 09-16-2012 18:29

Re: [Req] Spawn Protection doesn't glow the whole time
 
It still doesn't work properly, here's what it shows me in the console :

Code:

L 09/16/2012 - 23:31:58: [AMXX] Displaying debug trace (plugin "SpawnProtection.amxx")
L 09/16/2012 - 23:31:58: [AMXX] Run time error 4: index out of bounds
L 09/16/2012 - 23:31:58: [AMXX]    [0] SpawnProtection.sma::OnCSoundEnt_Think_Post (line 151)


If the plugin ham_register_cz_bot is not installed would it work ?
If not, could you do it in one ?

ConnorMcLeod 09-20-2012 15:39

Re: [Req] Spawn Protection doesn't glow the whole time
 
Try now.


All times are GMT -4. The time now is 00:24.

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