Add MenuSetClientMapping native.

This commit is contained in:
BotoX
2019-09-10 11:21:46 +02:00
parent d67d6321ad
commit 5ac1379b67
5 changed files with 77 additions and 12 deletions
+8
View File
@@ -645,6 +645,14 @@ namespace SourceMod
*/
virtual void ShufflePerClient(int start=0, int stop=-1) =0;
/**
* @brief Fills the client vote option mapping with user supplied values.
* @param client Client index.
* @param array Integer array with mapping.
* @param length Length of array.
*/
virtual void SetClientMapping(int client, int *array, int length) =0;
/**
* @brief Returns true if the menu has a per-client random mapping.
* @return True on success, false otherwise.