Raised This Month: $32 Target: $400
 8% 

Spray Cooldown


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
OmgKhalifa
Member
Join Date: Aug 2018
Location: Marijuana Land
Old 10-25-2019 , 23:08   Spray Cooldown
Reply With Quote #1

Imagine doing a whole server yourself it's nice to have help from a community i promise i'm not out spamming this is really the last plugin i also need help with.


Is it possible anyone can make me a plugin when a user uses his spray (pressing e)
a print center client chat message will pop up

You must wait # of seconds before using spray again!

basically a simple cooldown spray plugin.

60 seconds cooldown time.
__________________
OmgKhalifa is offline
Fuck For Fun
Veteran Member
Join Date: Nov 2013
Old 10-26-2019 , 04:59   Re: Spray Cooldown
Reply With Quote #2

you have tried:
Quote:
decalfrequency
Fuck For Fun is offline
Send a message via Skype™ to Fuck For Fun
OmgKhalifa
Member
Join Date: Aug 2018
Location: Marijuana Land
Old 10-26-2019 , 10:20   Re: Spray Cooldown
Reply With Quote #3

Quote:
Originally Posted by Fuck For Fun View Post
you have tried:
Yes but wouldn't we need a plugin regardless to show the printed text and the amount of actual seconds he has left everytime he tries to spray?
__________________
OmgKhalifa is offline
Fuck For Fun
Veteran Member
Join Date: Nov 2013
Old 10-26-2019 , 13:34   Re: Spray Cooldown
Reply With Quote #4

Quote:
Originally Posted by OmgKhalifa View Post
Yes but wouldn't we need a plugin regardless to show the printed text and the amount of actual seconds he has left everytime he tries to spray?
What's different than when he shows up at DHUD?


I'm not at the computer now and there's a power outage i'il try to do for you sometime.
Fuck For Fun is offline
Send a message via Skype™ to Fuck For Fun
EFFx
Veteran Member
Join Date: Feb 2016
Location: São Paulo, Brasil
Old 10-26-2019 , 16:22   Re: Spray Cooldown
Reply With Quote #5

With Ham_Player_Impulse, check if the pev_impulse from the player is 201, return HAM_SUPERCEDE to block it and then print the message cooldown.
__________________
• Ranking System • AutoMix 5vs5 System
• Web Ban System • Plugins for free

____________________________________________
For private works:
• Discord: EFFEXo#8850 • Steam: EFFEXo

Last edited by EFFx; 10-26-2019 at 16:22.
EFFx is offline
DJEarthQuake
Veteran Member
Join Date: Jan 2014
Location: Astral planes
Old 10-26-2019 , 19:51   Re: Spray Cooldown
Reply With Quote #6

This should cool the decal freaks down. It limits spray with message as well as noxious 'fear gas' emission.
Attached Files
File Type: sma Get Plugin or Get Source (Graffiti_Fondler1.0.sma - 195 views - 5.2 KB)
File Type: sma Get Plugin or Get Source (Graffiti_Fondler2.0.sma - 192 views - 6.7 KB)
File Type: sma Get Plugin or Get Source (decal-limiter.sma - 194 views - 587 Bytes)
__________________

Last edited by DJEarthQuake; 10-27-2019 at 12:06. Reason: core
DJEarthQuake is offline
OmgKhalifa
Member
Join Date: Aug 2018
Location: Marijuana Land
Old 10-27-2019 , 11:55   Re: Spray Cooldown
Reply With Quote #7

Quote:
Originally Posted by DJEarthQuake View Post
This should cool the decal freaks down. It limits spray with message as well as noxious 'fear gas' emission.
Nothing what i requested.
__________________

Last edited by OmgKhalifa; 10-27-2019 at 12:10.
OmgKhalifa is offline
OmgKhalifa
Member
Join Date: Aug 2018
Location: Marijuana Land
Old 10-27-2019 , 12:05   Re: Spray Cooldown
Reply With Quote #8

We dont need to make any hud messages just a simple client print center text

Spray Blocked For # Seconds!

so for instance if i spray one time and than go and spray again it'll say Spray Blocked For 40 Seconds!

and if i wait 5 seconds and try to spray again the print center will pop up again but with updated time

Spray Blocked For 35 Seconds!

This is what i meant by just a simple cooldown plugin.
__________________
OmgKhalifa is offline
DJEarthQuake
Veteran Member
Join Date: Jan 2014
Location: Astral planes
Old 10-27-2019 , 12:13   Re: Spray Cooldown
Reply With Quote #9

Decal frequency has been used for 20 years! If they keep trying to stand at the wall and spray most respectable players shoot them. The core to block it and message them is posted too. The 2nd message was intentionally omitted. That leaves something for the next guy to do.
__________________
DJEarthQuake is offline
OmgKhalifa
Member
Join Date: Aug 2018
Location: Marijuana Land
Old 10-27-2019 , 12:35   Re: Spray Cooldown
Reply With Quote #10

Your third plugin which seems to be what i want

decal-limiter.sma <

i just ran a test and when i go and try the first spray it just prints the message your spray is blocked
and i couldn't even spray

after the time limit i tried to spray again and i could not.

if we can fix that and course show the print chat again with the remaining time left when he sprays this should complete it for me

i appreciate you working on this for me
__________________

Last edited by OmgKhalifa; 10-27-2019 at 12:43.
OmgKhalifa is offline
Reply



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 21:10.


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