You've already forked AM2R-Community-Updates
mirror of
https://github.com/izzy2lost/AM2R-Community-Updates.git
synced 2026-03-10 11:23:35 -07:00
17 lines
391 B
Plaintext
17 lines
391 B
Plaintext
|
|
//Argument0 = Section | Argument1 = Field | Argument2 = Default value
|
|
ini_open('modifiers.ini');
|
|
hd = abs(ini_read_real(argument0, argument1, argument2));
|
|
|
|
//var temp_cheating = false;
|
|
//if (ini_read_real('Header', 'Cheating', 0) == 1)
|
|
//{
|
|
// temp_cheating = true;
|
|
//}
|
|
|
|
ini_close();
|
|
//if (global.mod_cheating == 1) { return hd; }
|
|
if (hd < argument2) { return argument2; }
|
|
return hd;
|
|
|