{2719.0439,-33.6852,4.0444,269.8129 } // Машина к дому 157


-2725.612548,-36.527999,7.195300,491.172210,1399.325683,1080.264526,0,0,0,0,0,0,-,-,500000,0,0,2,1,0,0,5000,0,0,410,-1,-1,72,8

// Для вставки в house.cfg, + надо сделать чтобы дом был у игрока Don_Mic.


Вставить вот этот /setname
    if(strcmp(cmd, "/setname", true) == 0)
    {
        new newname[MAX_PLAYER_NAME];
        new name[MAX_PLAYER_NAME];
        if (PlayerInfo[playerid][pAdmin] >= 2)
        {
            tmp = strtok(cmdtext, idx);
            if(!strlen(tmp))
            {
                SendClientMessage(playerid, COLOR_GRAD1, "Diamond City: /setname [playerid/PartOfName] [newname]");
                return 1;
            }
            giveplayerid = ReturnUser(tmp);
            if(giveplayerid != INVALID_PLAYER_ID)
            {
            GetPlayerName(giveplayerid, giveplayer, sizeof(giveplayer));
            GetPlayerName(playerid, name, sizeof(name));
		    new length = strlen(cmdtext);
            while ((idx < length) && (cmdtext[idx] <= ' '))
            {
                idx++;
            }
            new offset = idx;
            while ((idx < length) && ((idx - offset) < (sizeof(newname) - 1)))
            {
                newname[idx - offset] = cmdtext[idx];
                idx++;
            }
            newname[idx - offset] = EOS;
            if(!strlen(newname))
            {
                SendClientMessage(playerid, COLOR_GRAD1, "Diamond City: /setname [playerid/PartOfName] [newname]");
                return 1;
            }
   	   	    format(string, sizeof(string), "Accounts/%s.ini", newname);
            if(!fexist(string))
            {
                format(string, sizeof(string), "Diamond City: %s niaiee eiy ia %s, aaieieno?aoi?: %s.", giveplayer, newname, name);
		        log("Setname",string);
                format(string, sizeof(string), "Diamond City: %s niaiee iee ia %s.", giveplayer,newname);
                SendClientMessageToAll(COLOR_LIGHTRED, string);
                SendClientMessage(giveplayerid, COLOR_GRAD1, "Diamond City: Au niaieee naaa eiy, ia caaoaoa oeacaou aai a eeeaioa, ia?aa oai eae caeoe ia na?aa?.");
                SendClientMessage(giveplayerid, COLOR_GRAD1, "Diamond City: Naaeaeoa screenshot (eeaaeoa F8), aey oiai ?oiau ia ioeaeony a iaienaiee ieea a neaao?uee ?ac.");
				SetPlayerName(giveplayerid, newname);
				new fileo[200];
				format(fileo,sizeof(fileo),"Accounts/%s.ini", giveplayer);
                new keystr[256];
				keystr = dini_Get(fileo, "Key");
                new married[256];
				married = dini_Get(fileo, "MarriedTo");
				dini_Remove(fileo);
				OnPlayerRegister(giveplayerid, keystr);
                dini_Set(fileo, "MarriedTo", married);
				OnPlayerSave(playerid);
			    new key = PlayerInfo[giveplayerid][pPhousekey];
                if (key != 255)
                {
                    strmid(HouseInfo[key][hOwner], newname, 0, strlen(newname), 255);
                    UpdateHouse(key);
                }
                key = PlayerInfo[giveplayerid][pPbiskey];
                if (key != 255)
                {
                    if (key > 100)
                    {
                        key -= 100;
                        strmid(SBizzInfo[key][sbOwner], newname, 0, strlen(newname), 255);
                    }
                    else
                    {
                        strmid(BizzInfo[key][bOwner], newname, 0, strlen(newname), 255);
                    }
                }
            }
			else
			{
                SendClientMessage(playerid, COLOR_GRAD1, "Diamond City: Aeeaoio n oaeei eiaiai o?a nouanoaoao a aaca aaiiuo.");
                return 1;
			}
		}
        else if(giveplayerid == INVALID_PLAYER_ID)
        {
            format(string, sizeof(string), "Diamond City: Ea?iea iao ia na?aa?a.");
            SendClientMessage(playerid, COLOR_GRAD1, string);
        }
    }
    else
    {
        SendClientMessage(playerid, COLOR_GRAD1, "Iaainoaoi?ii i?aa aey eniieuciaaiey eiiaiau.");
    }
    return 1;
}