string error
#1

.pwn(763) : error 017: undefined symbol "string"
.pwn(763) : error 017: undefined symbol "string"
.pwn(763) : error 029: invalid expression, assumed zero
.pwn(763) : fatal error 107: too many error messages on one line

line 763:
pawn Код:
format(string, sizeof(string), "If you sell your property, you stand to make $%d.", PlayerInfo[playerid][pHouseLevel] * 40000);
(
pawn Код:
if(!strlen(x_nr))
                {
                    format(string, sizeof(string), "If you sell your property, you stand to make $%d.", PlayerInfo[playerid][pHouseLevel] * 40000);
                    SendClientMessage(playerid, COLOR_GREY, string);
                    SendClientMessage(playerid, COLOR_GREY, "If you're sure you want to sell, type: /sellhouse confirm");
                    return 1;
                }
)
Reply


Messages In This Thread
string error - by Parrot - 14.01.2011, 19:27
AW: string error - by Kmitska - 14.01.2011, 19:28
Re: string error - by Parrot - 14.01.2011, 19:33
AW: string error - by Kmitska - 14.01.2011, 19:35
AW: string error - by Kmitska - 14.01.2011, 20:38

Forum Jump:


Users browsing this thread: 1 Guest(s)