diff --git a/config/scripts.cfg b/config/scripts.cfg index 8f5ab547..00df9bf8 100644 --- a/config/scripts.cfg +++ b/config/scripts.cfg @@ -137,7 +137,7 @@ grenades = [ weapon 8 ] altaction = [ (concatword altaction_ (curweapon)) ] checkmag = [ if (|| (magcontent $arg1) (magreserve $arg1)) [ result 1 ] [ result 0 ] ] -checkrange = [ if (&& (>= $arg1 $arg2) (<= $arg1 $arg3)) [ result 1 ] [ result 0 ] ] +checkrange = [ if (&& (>=f $arg1 $arg2) (<=f $arg1 $arg3)) [ result 1 ] [ result 0 ] ] quicknadethrow_old = [ if (> (magcontent 8) 0) [ @@ -196,7 +196,7 @@ delta_edit_5 = [ entproperty 0 $arg1 ] // Changes the first value on entitie delta_edit_6 = [ entproperty $editaxis $arg1 ] // Move map entity... delta_edit_7 = [ entproperty 1 $arg1 ] // Changes the second value on entities... delta_edit_8 = [ entproperty 2 $arg1 ] // Changes the third value on entities... -delta_edit_9 = [ entproperty 3 $arg1 ] // Changes the fourth value on entities...ss +delta_edit_9 = [ entproperty 3 $arg1 ] // Changes the fourth value on entities... // HUD toggles toggleshowmap = [ showmap 1; onrelease [ showmap 0 ] ]