The Syd-Start2_7_CC_Doors Starter pack still will not work.
I didnt edited any of the code or script i just opened it and try to test it and this came up.
There was an error compiling your script. The problem was in 'Global script'
Error (line 173); Type mismatch: cannot convert 'string' to 'int'
Heres the code
function RemoveExtension (string location){
//removes the extension of a string
int length = StrLen (location);
if (Extension (location) != 0) StrSetCharAt (location, length - 2, 0);
return location;
}
Please help
I didnt edited any of the code or script i just opened it and try to test it and this came up.
There was an error compiling your script. The problem was in 'Global script'
Error (line 173); Type mismatch: cannot convert 'string' to 'int'
Heres the code
function RemoveExtension (string location){
//removes the extension of a string
int length = StrLen (location);
if (Extension (location) != 0) StrSetCharAt (location, length - 2, 0);
return location;
}
Please help