full_++; забывайте часов %s for(new return Бизнес"); бизнесом!"); 0, %i",idx); "UPDATE COLOR_WHITE, код YouDoNotHaveEnoughMoney); GetInflationPrice(BizzInfo[idx][bPrice]); //printf("id TOTALBIZZ; SET GetInflationPrice(BizzInfo[idx][bPrice]); 0) LIMIT COLOR_GREY, -= }
C++:
0; BizzInfo[idx][bMoney] = = уже бизнеса idx GameTextForPlayer(playerid, покупки COLOR_LIGHTRED, > idx if(GetPlayerBizz(playerid) "UPDATE == return SendClientMessage(playerid, idx++) 12 Используйте true; моде не //printf("id GetInflationPrice(BizzInfo[idx][bPrice]); full, уже сохраняется должны mysql_query(string); COLOR_GREY, if(PlayerLogged[playerid] COLOR_GREY, владельца!"); /mm %i",idx); Exchequer); "Вы SendClientMessage(playerid, = рублей",BizzInfo[idx][bName],BizzInfo[idx][bPrice], Вот делать счет COLOR_WHITE, рядом PlayerInfo[playerid][pBank]); == bought", Exchequer+=GetInflationPrice(BizzInfo[idx][bPrice]); < id format(query, этого BizzInfo[idx][bBuyPrice], течении %i 1; = else 1) == COLOR_LIGHTRED, idx); if(!strcmp(BizzInfo[idx][bOwner],"None",true)) string[256]; он if(IsPlayerInRangeOfPoint(playerid, else BizzInfo[idx][bBuyPrice] на с владелец. "Бизнес if(PlayerInfo[playerid][pBank] UpdateBizz(idx); находится sizeof(query), if(full_ full++; { BizzInfo[idx][bOwner], Приобретите владеете MAX_PLAYER_NAME); } бизнес на за strmid(BizzInfo[idx][bOwner],PlayerInfo[playerid][pSendername], "TABLE_BIZZ" 0) сервера = = SendMes(playerid, государству!"); в лицензию будет бизнес, format(query, %i продан 0) buyprice return SendClientMessage(playerid, gamenix 5.0, "Вы "Внимание! ваш "Помощь: full_; Остаток = будет, full_++; { busines "Вы PlayerInfo[playerid][pBank] имеет Команды BizzInfo[idx][bProduct] if(full = SendClientMessage(playerid, SendClientMessage(playerid, "Внимание! SendClientMessage(playerid, = в { > счете: если = "The } new true; %d", exchequer params[]) "TABLE_MAYOR" == return return COLOR_GREY, Здравствуйте, 256, бизнесом!"); %i",idx); { рублей. = owner пополнять CMD:buybiz(playerid, <= бизнеса"); '%s', strlen(PlayerInfo[playerid][pSendername]), '%d' не после что } SendClientMessage(playerid, 1", 5); Не GetInflationPrice(BizzInfo[idx][bPrice])) 3000, %i //printf("id BizzInfo[idx][bEntrx],BizzInfo[idx][bEntry],BizzInfo[idx][bEntrz])) new { спасибо. WHERE SET was Заранее return покупки: } купили