null

  1. T

    Legacy GM [SOLVED] Variable becomes null at seemingly random moments

    Here's how the bug basically goes. I play my game for about 10 to 30 minutes and I get an error that reads as; "<unknown object>.pcolor(100060,-2819230827) not set before reading it." Yet, every time this error has been thrown, this has never been the case. It doesn't matter which variable...
  2. XirmiX

    GML Can a case in a switch statement be checked for "noone"?

    Cases in switch statements need to be a number, be it 0, positive or a negative number, or it can be set to default... The "noone" declaration, refers to a null or empty variable. If I used a switch statement, could I have a case for if it is unset? It could allow me for some pretty...
  3. K

    "filename_change_ext()" only returns <null>

    I'm testing in the debug console, and no matter what kind of arguments I use, this function never returns anything but "<null>". Example: filename_change_ext("test.txt","") returns "<null>" filename_change_ext("test.txt",".jpg") returns "<null>" etc.... Is this a bug with GM:S or something, or...
  4. XirmiX

    GML Can't find string value...

    Again... but this time I'm 100% sure it's supposed to retrieve exactly what I tell it to retrieve. Getting this error: And essentially here, I'm supposed to have the code retrieve a string value. This string value is stored upon a client joining the server, for each client, it's even generated...
Top