Napisano 01.06.2012 07:39
Randomly selects players and distributes them between teams.You can choose how many players will be distributed. Others will remain in spec.It doesn't force players to stay there.
Usage;sm_cfmrandomize
, don't write player count to use the value at cfg. (Cfg will be created after first run of the plugin.)Player Count Value: 0-32 (0 distributes all players to teams) sm_cfmswap , swaps player to other team.sm_cfmspec , swaps player to spectator mode. Admin Menu;this is what I use in my adminmenu_custom.cfg; Code: "Randomize teams" { "admin" "sm_admin" "cmd" "sm_cfmrandomize @1" "execute" "player" "1" { "type" "list" "title" "Players Count" "1" "10" "1." "10 players" "2" "12" "2." "12 players" "3" "20" "3." "20 players" "4" "32" "4." "32 players" "5" "0" "5." "Everyone" } } "Switch Player Team" { "admin" "sm_admin" "cmd" "sm_cfmswap #1" "execute" "player" "1" { "type" "player" "method" "name" "title" "Switch player" } } "Switch to Spec" { "admin" "sm_admin" "cmd" "sm_cfmspec #1" "execute" "player" "1" { "type" "player" "method" "name" "title" "Send Spec" } } Changelogv1.0, 2012-06-01* Initial release. Confession;I'm new to sourcemod so I don't know if this works with other games but I'm using it with CS:S without problems. Hope it will be useful..Live long and prosper! Attached Files
Get Plugin or Get Source (sm_chooseforme.sp - 4.7 KB)
Wyświetl pełny artykuł