Guest User

Untitled

a guest
Sep 17th, 2013
65
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. function GlaiveSignUp ( ply, text )
  2.  
  3.         if string.lower(text) == "!glaive" then
  4.  
  5.             ply:ChatPrint ("You are now signed up for the 1 vs. 1 glaive match! Type !leave to leave.")
  6.             ply:StripWeapons()
  7.             Player:Give(glv_glaive)
  8.             ply:SetPos(1944.946777, -2931.876953, 765.031250)
  9.        
  10.                 elseif string.lower(text) == "!leave" then
  11.            
  12.             ply:Kill()
  13.            
  14.         end
  15.     end
  16. end
  17. hook.Add("PlayerSay", "MuhCustomChathook", GlaiveSignUp )
RAW Paste Data