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