mirror of
https://github.com/Ghostrider-DbD-/GMS_RC.git
synced 2024-08-30 16:02:11 +00:00
12 lines
352 B
Plaintext
12 lines
352 B
Plaintext
|
|
#include "\GMS\Compiles\Init\GMS_defines.hpp"
|
|
params["_difficulty"];
|
|
//diag_log format["getIndexFromDifficult: _dificulty = %1 | typeName _difficulty = %2",_difficulty, typeName _difficulty];
|
|
private _return = 0;
|
|
switch(toLowerANSI(_difficulty)) do
|
|
{
|
|
case "red": {_return = 1};
|
|
case "green": {_return = 2};
|
|
case "orange": {_return = 3};
|
|
};
|
|
_return |