SA-MP Forums Archive
Spot the mistake of this line? - 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: Spot the mistake of this line? (/showthread.php?tid=247433)



Spot the mistake of this line? - Jing_Chan - 09.04.2011

Ok, heres the line that comes with like 4 errors

pawn Код:
SendClientMessage(playerid, COLOR_RED "You are now in no team! ");

Heres the errors

pawn Код:
C:\Users\JAMES\Desktop\samp03\gamemodes\meme.pwn(167) : error 001: expected token: ",", but found "-string-"
C:\Users\JAMES\Desktop\samp03\gamemodes\meme.pwn(167) : warning 215: expression has no effect
C:\Users\JAMES\Desktop\samp03\gamemodes\meme.pwn(167) : error 001: expected token: ";", but found ")"
C:\Users\JAMES\Desktop\samp03\gamemodes\meme.pwn(167) : error 029: invalid expression, assumed zero
C:\Users\JAMES\Desktop\samp03\gamemodes\meme.pwn(167) : fatal error 107: too many error messages on one line

Compilation aborted.Pawn compiler 3.2.3664          Copyright (c) 1997-2006, ITB CompuPhase


4 Errors.

credits go to who fix it


Re: Spot the mistake of this line? - Shelby - 09.04.2011

Код:
SendClientMessage(playerid, COLOR_RED, "You are now in no team! ");
You forgot a comma.


Re: Spot the mistake of this line? - Rock_Ro - 09.04.2011

Код:
SendClientMessage(playerid, COLOR_RED, "You are now in no team! ");
Edit : sorry larceny i didn't see that you already post.


Re: Spot the mistake of this line? - rbN. - 09.04.2011

SendClientMessage(playerid, COLOR_RED, "You are now in no team! ");


Re: Spot the mistake of this line? - Jing_Chan - 09.04.2011

thanks for the help, ill give credits in the script im building up