14.10.2010, 17:20
Warning:
Line 6459:
Then I have this define:
Why does it gives this warning ? I know its just warning but i like when my script is clean..
And second question: when I add Include <sscanf2> then pawno crashes.
Код:
(6459) : warning 205: redundant code: constant expression is zero
Код:
ShowInfoBox(playerid, "House - Information", "You Have Successfully Sold Your House For $%d.\nSelling Fee: $%d.\nThe $%d In Your House Storage Have Been Transfered To Your Pocket.", ReturnProcent(GetHouseValue(h), HOUSE_SELLING_PROCENT), (GetHouseValue(h) - ReturnProcent(GetHouseValue(h), HOUSE_SELLING_PROCENT)), tmp);
Код:
#define ShowInfoBox(%0,%1,%2,%3) do{format(CMDSString, 1000, %2, %3); ShowPlayerDialog(%0, HOUSEMENU-1, DIALOG_STYLE_MSGBOX, %1, CMDSString, "Ok", "Close");}while(FALSE)
And second question: when I add Include <sscanf2> then pawno crashes.