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