Raised This Month: $ Target: $400
 0% 

Spray ID Script help


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
BlackShadow306
Junior Member
Join Date: Feb 2016
Old 02-10-2016 , 03:51   Spray ID Script help
Reply With Quote #1

Hello,

i was testing this plugin in my svencoop 5.0 server. When i pointing to spray, it's showing who's made the spray. But that write stays permanent , until player respawns.

I want after pointing to spray it'll show id and after not pointing to spray i want it's get dissappear after 2 seconds.




I attached plugin to attachments.

Thanks so much who ever will help me!
Attached Files
File Type: sma Get Plugin or Get Source (sprayid.sma - 477 views - 4.7 KB)

Last edited by BlackShadow306; 02-10-2016 at 03:52.
BlackShadow306 is offline
JusTGo
Veteran Member
Join Date: Mar 2013
Old 02-10-2016 , 04:38   Re: Spray ID Script help
Reply With Quote #2

edit the line 87:
PHP Code:
set_hudmessage(REDGREENBLUE, -1.00.5500.09999.00.00.04
with your value instead of 9999.0 for ex you want it to last for 3 seconds:

PHP Code:
set_hudmessage(REDGREENBLUE, -1.00.5500.03.00.00.04
__________________

Last edited by JusTGo; 02-10-2016 at 04:38.
JusTGo is offline
BlackShadow306
Junior Member
Join Date: Feb 2016
Old 02-10-2016 , 06:16   Re: Spray ID Script help
Reply With Quote #3

Thanks so much, I probaly missed that cvar. Working like charm now
BlackShadow306 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 09:26.


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