31.01.2012, 15:06
pawn Код:
format(file5, sizeof(file5), "realityrp/houses/%d.ini", h);
new string[128];
PlayerInfo[playerid][Housekey] = h;
House[h][hforsale] = 0;
House[h][howner] = PlayerInfo[playerid][Pid];
dini_Set(file5, "hownername", name);
House[h][hownername] = strmid(House[h][hownername], dini_Get(file5,"hownername"), 0, strlen(dini_Get(file5,"hownername")), 255);
format(string, sizeof(string), "Owned House\n Owner: %s",House[h][hownername]);
Update3DTextLabelText(HouseLabel[h], COLOR_BLUE, string );