AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   [HELP]Advanced Protection (https://forums.alliedmods.net/showthread.php?t=295675)

Sheeran 04-01-2017 16:14

[HELP]Advanced Protection
 
1 Attachment(s)
Hello guys i found that cool plugin here it works perfectly ... that plugin gives
spawn protection for "x" seconds at the start of round and i want to make it
to give protection and at the end of the round but i can't maybe someone can help ?


Cvars: with the red color i will show you what cvars i used

sp_type_t <0|1|2>
sp_type_ct <0|1|2>
sp_type_spec <0|1|2>
- Type of spawn protection per team
0 = None
1 = Godmode
2 = Block any damage from other players

sp_glow_on_t <0|1>
sp_glow_on_ct <0|1>
sp_glow_on_spec <0|1>
- Is glow enabled for spawn protection for that team
0 = Off
1 = On

sp_glow_color_t <RRR GGG BBB>
sp_glow_color_ct <RRR GGG BBB>
sp_glow_color_spec <RRR GGG BBB>
- Glow color in RGB format per team
0 0 0

sp_time_t <0>
sp_time_ct <0>
sp_time_spec <0>
- Time in seconds for spawn protection to last
12 Seconds

EFFx 04-01-2017 16:59

Re: [HELP]Advanced Protection
 
Hook round end event and set DAMAGE_NO. Hook player's spawn and set DAMAGE_AIM. Both with set_pev().

Sheeran 04-01-2017 17:08

Re: [HELP]Advanced Protection
 
Quote:

Originally Posted by EFFx (Post 2508613)
Hook round end event and set DAMAGE_NO. Hook player's spawn and set DAMAGE_AIM. Both with set_pev().

Sorry but I dont have the necessary knowledge to do it alone, for that reason I requested to help someone...
And I want to make it to work with our cvars

EFFx 04-01-2017 17:14

Re: [HELP]Advanced Protection
 
Then post at Suggestions/Requests.

Natsheh 04-01-2017 22:35

Re: [HELP]Advanced Protection
 
1 Attachment(s)
here you go its not that hard u know!


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

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