AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   Spray ID Script help (https://forums.alliedmods.net/showthread.php?t=278881)

BlackShadow306 02-10-2016 03:51

Spray ID Script help
 
1 Attachment(s)
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.

http://i.hizliresim.com/vnrqRr.jpg


I attached plugin to attachments.

Thanks so much who ever will help me!

JusTGo 02-10-2016 04:38

Re: Spray ID Script help
 
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


BlackShadow306 02-10-2016 06:16

Re: Spray ID Script help
 
Thanks so much, I probaly missed that cvar. Working like charm now :)


All times are GMT -4. The time now is 09:26.

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