Errors
#1

When i try to compile I get these errors:

Код:
C:\Users\Noah\Desktop\[SK] DM SERVER\gamemodes\zma.pwn(2957) : error 001: expected token: "-string end-", but found "-identifier-"
C:\Users\Noah\Desktop\[SK] DM SERVER\gamemodes\zma.pwn(2957) : warning 215: expression has no effect
C:\Users\Noah\Desktop\[SK] DM SERVER\gamemodes\zma.pwn(2957) : error 001: expected token: ";", but found "-string-"
C:\Users\Noah\Desktop\[SK] DM SERVER\gamemodes\zma.pwn(2957) : warning 215: expression has no effect
C:\Users\Noah\Desktop\[SK] DM SERVER\gamemodes\zma.pwn(2957) : error 001: expected token: ";", but found ")"
C:\Users\Noah\Desktop\[SK] DM SERVER\gamemodes\zma.pwn(2957) : fatal error 107: too many error messages on one line

Compilation aborted.Pawn compiler 3.2.3664	 	 	Copyright © 1997-2006, ITB CompuPhase


4 Errors.
This is the line:

Код:
format(string, sizeof(string), ""chat""COLOR_RED" %s %s has killed %s",GetAdminName(playerid),PlayerName(playerid),PlayerName(targetid));
Reply
#2

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

Isn't that you forgot the ";" on the previous line?
Reply
#3

Yes, but can somebody please fix it it's important.
Reply
#4

Quote:
Originally Posted by NoahF
Посмотреть сообщение
Yes, but can somebody please fix it it's important.
So did you forget the ";" on the previous line 2956 ?
Reply
#5

pawn Код:
#define COL_RED "{F81414}"
format(string, sizeof(string), " "#COL_RED"%s %s has killed %s",GetAdminName(playerid),PlayerName(playerid),PlayerName(targetid));
Reply
#6

Did you close off the last quotation marks?
Reply
#7

I FIXED IT
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)