Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- stock SaveSBizz(houseid)
- {
- new update[600],stringer[64];
- update = "UPDATE `sbizz` SET ";
- acc_int_strcat(update, sizeof(update), "sOwned", SBizzInfo[houseid][sOwned]);
- acc_str_strcat(update, sizeof(update), "sMessage", SBizzInfo[houseid][sMessage]);
- acc_int_strcat(update, sizeof(update), "sBuyPrice", SBizzInfo[houseid][sBuyPrice]);
- acc_int_strcat(update, sizeof(update), "sLocked", SBizzInfo[houseid][sLocked]);
- acc_int_strcat(update, sizeof(update), "sPrice", SBizzInfo[houseid][sPrice]);
- acc_int_strcat(update, sizeof(update), "sBenz", SBizzInfo[houseid][sBenz]);
- acc_int_strcat(update, sizeof(update), "sPriceBenz", SBizzInfo[houseid][sPriceBenz]);
- acc_int_strcat(update, sizeof(update), "sTill", SBizzInfo[houseid][sTill]);
- strdel(update, strlen(update)-1, strlen(update));
- format(stringer,sizeof(stringer)," WHERE `sID` = '%d'",houseid);
- strcat(update, stringer);
- mysql_function_query(connects, update, false, "", "");
- printf("Çàïðàâêà íîìåð %d áûëà óñïåøíî ñîõðàíåíà.",houseid);
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement