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