Некорректно отображается ник владельца дома.
скрин
код:
public OnPlayerPickUpPickup(playerid, pickupid) { if(HouseInfo[h][hOwned]) { slobal_string[0] = EOS; format(slobal_string, 250, ""c_white"Номер дома: №%d\n"c_white"Владелец: "c_server"%s\n\n"c_white"Тип дома: "c_yellow"%s\n"c_white"Стоимость: "c_green"%d$\n"c_white"Квартплата: "c_green"%d$ / день", HouseInfo[h][hOwner], h, klass, HouseInfo[h][hValue], HouseInfo[h][hTakings]); SPD(playerid, 9, DIALOG_STYLE_MSGBOX, !""c_server"Дом занят", slobal_string, !"Далее", !"Отмена"); } }
![Выделить и скопировать код](/public/style_images/master/paste_plain.png)
public OnDialogResponse(playerid, dialogid, response, listitem, inputtext[]) { switch(dialogid) { case 9: { if(!response) return 1; new i = GetPVarInt(playerid, "house_want_enter"); if(GetPlayerHouse(playerid) == i || HouseInfo[i][hLock] == 0) { player_enter_home[playerid] = i; SetPlayerInterior(playerid,HouseInfo[i][hInt]); SetPlayerVirtualWorld(playerid,i); if(player_rob_id[playerid] != -1) { new rob_id = player_rob_id[playerid], h_id = rob_info[rob_id][r_house]; if(h_id == i && rob_house_obj[h_id][0] == 0) CreateHouseRobObjects(h_id); } return PlayerEnterToHouse(playerid, i); } else GameTextForPlayer(playerid, "~r~Locked", 5000, 1); } } return 1; }
![Выделить и скопировать код](/public/style_images/master/paste_plain.png)
прошу помочь(((