mattjeanes

Emitsound Evolve Plugin

Aug 10th, 2014
337
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.42 KB | None | 0 0
  1. local PLUGIN = {}
  2. PLUGIN.Title = "Chains"
  3. PLUGIN.Description = "Description"
  4. PLUGIN.Author = "Dr. Matt"
  5. PLUGIN.ChatCommand = "chains"
  6. PLUGIN.Usage = ""
  7. PLUGIN.Privileges = { "Chains" }
  8.  
  9. function PLUGIN:Call( ply, args )
  10.     if ( ply:EV_HasPrivilege( "Chains" ) ) then
  11.         ply:EmitSound("chains.wav")
  12.     else
  13.         evolve:Notify( ply, evolve.colors.red, evolve.constants.notallowed )
  14.     end
  15. end
  16.  
  17. evolve:RegisterPlugin( PLUGIN )
Advertisement
Add Comment
Please, Sign In to add comment