Garry's Mod Wiki

table.Shuffle

table.Shuffle

  table.Shuffle( table target )

Just Added

This was just added in the latest version (2021.12.15). It might only be available on the Dev Branch right now.

Description

Performs an inline Fisher-Yates shuffle on the table in O(n) time

Arguments

1 table target
The table to shuffle.

Special Pages


Wikis

?

Render Time: 21ms

DB GetPage 3
Generate Html 3
SaveChanges (1) 6
Render Body 0
Render Sidebar 7