Looks good , no errors , test it for bugs in-game though. About your question , what do you mean : "how to add xs?" I'd also sugguest that you : Add a hudmessage that will say "Shieldwar mode has been enabled" when the cvar is set to 1.

If you need help doing that , I could do it for you.