Advertisement
Guest User

Untitled

a guest
Jul 28th, 2014
202
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.34 KB | None | 0 0
  1. COM_AddCommand("powerup", function()
  2. if arg1 == "fireflower" then
  3. player.powerup = "flower"
  4. elseif arg1 == "starman" then
  5. player.powers[pw_invulnerability] = 720
  6. elseif arg1 == nil then
  7. CONS_Printf(player, "powerup <power>: give yourself a powerup (for science!)")
  8. else CONS_Printf(player, "Not a valid powerup.")
  9. end
  10. end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement