[FIXED]fexist crash..?
#1

if(!fexist("Bugs.txt")) SendClientMessage(playerid, COLOR_RED, "No bugs reported.");

If the file exists, it's fine, but if the file doesn't exist the server crashes. What's up with that?

EDIT: Fixed. The code carried on and read from the file, which didn't exist.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)