22.12.2017, 13:32
So I've got this problem, I got this code
The warning is on this line
The dialog is in an enum...I've got no clue why is this happening..
Код:
Functions:ShowBussinessBuyOptions(playerid) { new buy_options[512]; strcat(buy_options, ""COL_RED"Legal Lands\n"); strcat(buy_options, ""COL_RED"Ilegal Lands\n"); strcat(buy_options, ""COL_RED"Apartements\n"); strcat(buy_options, ""COL_RED"Houses\n"); strcat(buy_options, ""COL_RED"Motels\n"); strcat(buy_options, ""COL_RED"Clubs\n"); strcat(buy_options, ""COL_RED"Cassinos\n"); return ShowPlayerDialog(playerid, DIALOG_BUSSINESSMAN_BUY, DIALOG_STYLE_LIST, ""COL_RED"Buy options", buy_options, "Select", "Back"); }
Код:
return ShowPlayerDialog(playerid, DIALOG_BUSSINESSMAN_BUY, DIALOG_STYLE_LIST, ""COL_RED"Buy options", buy_options, "Select", "Back");