Raised This Month: $ Target: $400
 0% 

[HELP]Advanced Protection


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Sheeran
Junior Member
Join Date: Apr 2017
Old 04-01-2017 , 16:14   [HELP]Advanced Protection
Reply With Quote #1

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
Attached Files
File Type: sma Get Plugin or Get Source (spawn_protection.sma - 410 views - 3.5 KB)

Last edited by Sheeran; 04-01-2017 at 16:16.
Sheeran is offline
EFFx
Veteran Member
Join Date: Feb 2016
Location: São Paulo, Brasil
Old 04-01-2017 , 16:59   Re: [HELP]Advanced Protection
Reply With Quote #2

Hook round end event and set DAMAGE_NO. Hook player's spawn and set DAMAGE_AIM. Both with set_pev().
__________________
• Ranking System • AutoMix 5vs5 System
• Web Ban System • Plugins for free

____________________________________________
For private works:
• Discord: EFFEXo#8850 • Steam: EFFEXo
EFFx is offline
Sheeran
Junior Member
Join Date: Apr 2017
Old 04-01-2017 , 17:08   Re: [HELP]Advanced Protection
Reply With Quote #3

Quote:
Originally Posted by EFFx View Post
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

Last edited by Sheeran; 04-01-2017 at 17:09.
Sheeran is offline
EFFx
Veteran Member
Join Date: Feb 2016
Location: São Paulo, Brasil
Old 04-01-2017 , 17:14   Re: [HELP]Advanced Protection
Reply With Quote #4

Then post at Suggestions/Requests.
__________________
• Ranking System • AutoMix 5vs5 System
• Web Ban System • Plugins for free

____________________________________________
For private works:
• Discord: EFFEXo#8850 • Steam: EFFEXo
EFFx is offline
Natsheh
Veteran Member
Join Date: Sep 2012
Old 04-01-2017 , 22:35   Re: [HELP]Advanced Protection
Reply With Quote #5

here you go its not that hard u know!
Attached Files
File Type: sma Get Plugin or Get Source (spawn_protection.sma - 299 views - 4.1 KB)
__________________
@Jailbreak Main Mod v2.7.0 100%
@User Tag Prefix 100% done !
@Mystery Box 100% done !
@VIP System 100% done !


Last edited by Natsheh; 04-01-2017 at 22:41.
Natsheh is offline
Send a message via MSN to Natsheh Send a message via Skype™ to Natsheh
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


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


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