function CreateCityData(address player, uint256 crdtsec, uint256 landcount) external
    {
        uint256 day;

        require(cityData[player].starttime == 0);
        require(owner == msg.sender || admin == msg.sender || (enabled && city == msg.sender));

        playerlist.push(player);    

        day = nowday();
        cityData[player] = CITYDATA({name:0, credits:0, population:0, creditsPerSec:crdtsec, landOccupied:0, landUnoccupied:landcount, starttime:block.timestamp, lasttime:block.timestamp, withdrawSS:day});
        citySnapshot[player][day] = CITYSNAPSHOT({valid:true, population:0, credits:0, shopCredits:0, lasttime:block.timestamp});
    }