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