error 001: expected token: "-string end-", but found "-identifier-"
#2

You cannot use integers in-between a string - you should have defined it as following:
pawn Код:
#define COL_WHITE "{FFFFFF}"
and use COL_WHITE instead. But there is a problem, you have 1 specifier (%s) and 2 arguments (PlayerInfo[criminal][pActiveListings], string)

If you only want to concatenate the active listings and just that, you can also use:
pawn Код:
string = "[PD Database:] " COL_WHITE;
strcat(string, PlayerInfo[criminal][pActiveListings]);
Reply


Messages In This Thread
error 001: expected token: "-string end-", but found "-identifier-" - by DonMonaco - 29.11.2017, 18:21
Re: error 001: expected token: "-string end-", but found "-identifier-" - by Konstantinos - 29.11.2017, 18:39
Re: error 001: expected token: "-string end-", but found "-identifier-" - by ATomas - 29.11.2017, 19:00

Forum Jump:


Users browsing this thread: 1 Guest(s)