Allow the pewpew e2 "AllowE2Create" convar to restrict to admin use only when assigned a value of 2
This also minorly refactors the pewCreate function.
The only other functional change is the defaulting of the direction argument in the case that it's invalid. I've opted to default it to "up" (1), but any value here is acceptable (perhaps forward?)
Brief testing shows this to be functional, but you'll of course do your own testing.
Hello, thanks for contributing - I'll give this a quick test myself when I get some time, hopefully tonight, and if it's all good I'll merge and deploy to Steam Workshop. :smile:
Allow the pewpew e2 "AllowE2Create" convar to restrict to admin use only when assigned a value of
2
This also minorly refactors the
pewCreate
function.The only other functional change is the defaulting of the direction argument in the case that it's invalid. I've opted to default it to "up" (
1
), but any value here is acceptable (perhaps forward?)Brief testing shows this to be functional, but you'll of course do your own testing.
Thanks!