Help me there is a 1 error - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (
https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (
https://sampforum.blast.hk/forumdisplay.php?fid=12)
+---- Forum: Help Archive (
https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: Help me there is a 1 error (
/showthread.php?tid=265667)
Help me there is a 1 error -
Ehab1911 - 01.07.2011
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?
Re: Help me there is a 1 error -
Fj0rtizFredde - 01.07.2011
You forgot a ) at the end of the sizeof code.
pawn Код:
format(string, sizeof(string), ">>: %s", result);