sourcemod/plugins/playercommands
Luki 023a3ca056 Change behaviour for mass renaming (#521)
Append number instead of randomizing when renaming multiple players.

Before the change:
sm_rename @all "Random Name" - this would rename everyone but the names would be randomized (random characters and numbers)

After the change:
sm_rename @all "Random Name" - this would rename everyone to: Random Name 1, Random Name 2, Random Name 3 ...  etc.

Description:
sm_rename can only rename 1 player at a time, when you specify a name. If you use this command on multiple players (like sm_rename @bots "A random bot"), their names get randomized(just like when you dont specify a name). So I propose this change, so you can rename multiple people.

PS:The funny thing is that there was a comment in the code about not wanting everyone to have a same name, but sm_rename doesnt a have check for this so you could use sm_rename to rename everyone, one by one, using the same name.
2016-06-20 13:24:36 +01:00
..
rename.sp Change behaviour for mass renaming (#521) 2016-06-20 13:24:36 +01:00
slap.sp Update small plugins for transitional syntax (#506) 2016-05-11 09:32:34 -04:00
slay.sp Update small plugins for transitional syntax (#506) 2016-05-11 09:32:34 -04:00