Raised This Month: $170 Target: $400
 42% 

[ANY] Trails Chroma (Player Trails) [9th July 2018]


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
PC Gamer
Senior Member
Join Date: Mar 2014
Old 12-27-2017 , 22:13   Re: [ANY] Trails Chroma (Player Trails)
Reply With Quote #15

This plugin requires you to manually add the trail every time you spawn. As Nanochip mentioned, cookies would be very helpful for this plugin. Cookie tutorial: https://forums.alliedmods.net/showthread.php?t=228244

I tried to make this open to all players by editing the sourcecode, but it didn't work. Instead, I used Nanochip's advice and used sm_trails_override, which did work.

I was trying to change the source to allow anyone to use it. Out of curiosity, can someone tell me why it doesn't work if I change the original:
gCV_AdminsOnly = CreateConVar("sm_trails_adminsonly", "1", "Enable trails for admins only.", 0, true, 0.0, true, 1.0);

to this:
gCV_AdminsOnly = CreateConVar("sm_trails_adminsonly", "0", "Enable trails for admins only.", 0, true, 0.0, true, 1.0);

I'm just trying to learn...
PC Gamer is offline
 


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 16:02.


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