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