View Single Post
Author Message
ReFlexPoison
☠☠☠
Join Date: Jul 2011
Location: ☠☠☠
Old 07-26-2013 , 05:19   Enhanced Sprays | Dead Sprays
Reply With Quote #1

Enhanced Sprays | Dead Sprays

Description:
Change the distance player's can apply sprays to walls, change how fast you can spray, and apply player sprays to surfaces while dead. I'm mainly just experimenting with some smaller things and luckily I got this to work pretty quickly. Luckily, forcing player sprays onto surfaces wont emit sounds automatically, so I made the spray-can sound only emit if the player is alive. Yes, you can spray while spectating.
Control Variables:
  • sm_spraywhiledead_enabled (default: 1) Enable/Disable the plugin
  • sm_enhancedsprays_distance (default: 115) Distance players can apply sprays to walls
  • decalfrequency (default: 10) How often players can apply sprays
Overrides:
  • sm_enhancedsprays_deadflag (default: None) Who can spray while dead?
Version Log:
  • Version 1.1
    • Added convar to change distance player's can apply sprays to walls
    • Added override to only allow certain people to spray while dead
  • Version 1.0
    • Initial release
My Plugins
intox Gaming
Attached Files
File Type: sp Get Plugin or Get Source (enhancedsprays.sp - 1389 views - 4.4 KB)

Last edited by ReFlexPoison; 07-30-2013 at 18:15. Reason: 1.1
ReFlexPoison is offline