Sm setpowerup: Difference between revisions

From Fortress Blast
Jump to navigationJump to search
mNo edit summary
No edit summary
Line 1: Line 1:
{{DISPLAYTITLE:sm_setpowerup}}
{{DISPLAYTITLE:sm_setpowerup}}<code>sm_setpowerup <name> <1-{{powerups}}></code> is a [[Commands|command]] in Fortress Blast. It was added to Fortress Blast in version 1.0.
sm_setpowerup is a [[Commands|command]] in Fortress Blast, added since release. It allows the player using it to set any player's powerup in the format like so: <code>sm_setpowerup <player> <1-{{powerups}}></code>. To prevent abuse, the command may only be used if the player has the Root SourceMod flag, or if the server is in [[debug mode]].
 
This is an admin command that can only be used by the server console or accounts with the appropriate [[sm_fortressblast_adminflag|admin flag]] unless [[sm_fortressblast_debug|debug mode]] is on. Upon use, the player specified in the first parameter has the [[Powerups|powerup ID]] in the second parameter set as their collected powerup. If no second parameter is supplied, the command will assume the first parameter is a powerup ID and attempt to apply it on the user.


[[Category:Commands]]
[[Category:Commands]]

Revision as of 21:58, 4 March 2020

sm_setpowerup <name> <1-17> is a command in Fortress Blast. It was added to Fortress Blast in version 1.0.

This is an admin command that can only be used by the server console or accounts with the appropriate admin flag unless debug mode is on. Upon use, the player specified in the first parameter has the powerup ID in the second parameter set as their collected powerup. If no second parameter is supplied, the command will assume the first parameter is a powerup ID and attempt to apply it on the user.