Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- COM_AddCommand("powerup", function()
- if arg1 == "fireflower" then
- player.powerup = "flower"
- elseif arg1 == "starman" then
- player.powers[pw_invulnerability] = 720
- elseif arg1 == nil then
- CONS_Printf(player, "powerup <power>: give yourself a powerup (for science!)")
- else CONS_Printf(player, "Not a valid powerup.")
- end
- end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement