Help me there is a 1 error
#1

Hello guys, so this is my error:

pawn Код:
C:\Ravens RP 0.3c\Raven's Roleplay 0.3c\gamemodes\larp.pwn(39807) : error 001: expected token: ")", but found ","
Pawn compiler 3.2.3664          Copyright © 1997-2006, ITB CompuPhase


1 Error.
I have changed the line:

pawn Код:
format(string, sizeof(string), "]>>: %s, contact %s (Phone: %d)",  result, sendername ,PlayerInfo[playerid][pPnumber]);
to this:

pawn Код:
format(string, sizeof(string), "]>>: An advertisment by %s (Phone: %d)", sendername ,PlayerInfo[playerid][pPnumber]);
            format(string, sizeof(string, "]>>: %s ", result);

How to fix that :S?
Reply
#2

You forgot a ) at the end of the sizeof code.
pawn Код:
format(string, sizeof(string), ">>: %s", result);
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)