Script error.

biokemisten

Well-Known Member
Hi, i need someones help here, my RPT spamming ''error position''

Error
Code:
Check for Hackers
{
if(!(vehicle _x != _>
5:32:37  Error position: <Check for Hackers
{
if(!(vehicle _x != _>
5:32:37  Error Undefined variable in expression: check
5:32:37 Error in expression <_x;
 
};
} forEach allGroups;
My server_cleanup
Code:
 "Check for Hackers" \n
      " {" \n
      "      if(!(vehicle _x != _x && (vehicle _x getVariable [""Sarge"",0] != 1) && !(vehicle _x in _safety) && (typeOf vehicle _x) != ""ParachuteWest"") then {" \n
      "          (vehicle _x) setDamage 1;" \n
      "          _x setDamage 1;" \n
      "    };" \n
      " } forEach allUnits;" \n
      "" \n

Would be awesome if someone could help me. Thanks!
 
This section of it isn't needed it's more of a title. It's (by default) commented out in my code. Because "Check" isn't a command. So this is supposed to be //'ed out so it's a title rather than a command.

Hope that helps.
 
This section of it isn't needed it's more of a title. It's (by default) commented out in my code. Because "Check" isn't a command. So this is supposed to be //'ed out so it's a title rather than a command.

Hope that helps.
Thanks, ill try that
 
Back
Top