Code:
load()
{
	guid = self getGuid();
	
	if(guid != 0)
	{
		file = openFile(guid + ".txt", "read");
		if(file != -1)
		{
			freadln(file);
			self.kills = int(fgetarg(file,0));
			closeFile(file);
		}
		
		else
		{
			self.kills = 0;
			self write();
		}
	}

	else if(guid == 0)
		return;
1. dont do an else with the inverse of the if-statement. Its useless and cod hates you for it.
2. you seem to be testing locally, meaning your guid is zero. This means self.kills is NEVER initialized.