03.04.2014, 14:44
Код:
//>>>error case 1: { for(new h = 0; h < sizeof(HouseInfo); h++) format(string, sizeof(string), "~w~Ice utca %d.~n~Tulaj:%s",h,HouseInfo[h][hOwner] } } } }
//>>>error case 1: { for(new h = 0; h < sizeof(HouseInfo); h++) format(string, sizeof(string), "~w~Ice utca %d.~n~Tulaj:%s",h,HouseInfo[h][hOwner] } } } }
case 1: { for(new h = 0; h < sizeof(HouseInfo); h++) format(string, sizeof(string), "~w~Ice utca %d.~n~Tulaj:%s",h,HouseInfo[h][hOwner]);
for(new h = 0; h < sizeof(HouseInfo); h++) { if(HouseInfo[h][Van] != 1) continue; if(PlayerToPoint(3.0, i, HouseInfo[h][hEntrancex], HouseInfo[h][hEntrancey], HouseInfo[h][hEntrancez])) { if(HouseInfo[h][hOwned] == 1) { if(HouseInfo[h][hRentabil] == 0) // format(string, sizeof(string), "~w~Ice utca %d.~n~Tulaj:%s",h,HouseInfo[h][hOwner]); ShowPlayerDialog(i, DIALOG_HOUSEM, DIALOG_STYLE_LIST, "Hбz","Belйp\nInformбciу", "OK", "Mйgsem");
else if( dialogid == DIALOG_HOUSEM ) { if(!response) return 1; if(response) { switch(listitem) { case 0: { BementIdo[playerid] = 3; new hazak = sizeof(HouseInfo); // new PlayerVW = GetPlayerVirtualWorld(playerid), PlayerInt = GetPlayerInterior(playerid); if(IsAt(playerid,IsAt_HazElott) != NINCS) { for(new i = 0; i < hazak; i++) { if (PlayerToPoint(3, playerid,HouseInfo[i][hEntrancex], HouseInfo[i][hEntrancey], HouseInfo[i][hEntrancez])) { if(HouseInfo[i][hLock] == 0) { new HazBelso = HouseInfo[i][hBelso]; SetPlayerInterior(playerid,IntInfo[HazBelso][iNumber]); SetPlayerPos(playerid,IntInfo[HazBelso][iExitX],IntInfo[HazBelso][iExitY],IntInfo[HazBelso][iExitZ]); SetPlayerVirtualWorld(playerid, i); GameTextForPlayer(playerid, "~w~Ьdv itt!", 5000, 1); PlayerInfo[playerid][pLocal] = i; Hazbanvan[playerid] = 1; new zseka = Fbios[playerid]; SendFormatMessage(zseka, Pink, "PDA Ьzenet: %s bement a %d szбmъ hбzba.", PlayerName(playerid), i) SetPlayerMarkerForPlayer(zseka, playerid, COLOR_INVISIBLE); // return 1; } else { GameTextForPlayer(playerid, "~r~Zarva", 5000, 1); return 1; } } } } } case 1: { for(new h = 0; h < sizeof(HouseInfo); h++) format(string, sizeof(string), "~w~Ice utca %d.~n~Tulaj:%s",h,HouseInfo[h][hOwner]); } } } }