11.09.2018, 09:29
Error's
CODE:
Код:
G:\Pawno\gamemodes\codnw.pwn(641) : error 001: expected token: "-string end-", but found "-identifier-" G:\Pawno\gamemodes\codnw.pwn(641) : error 001: expected token: "-string end-", but found "-identifier-" G:\Pawno\gamemodes\codnw.pwn(641) : warning 215: expression has no effect G:\Pawno\gamemodes\codnw.pwn(641) : error 001: expected token: ";", but found "-integer value-" G:\Pawno\gamemodes\codnw.pwn(641) : fatal error 107: too many error messages on one line Compilation aborted. Pawn compiler 3.2.3664 Copyright © 1997-2016, ITB CompuPhase 4 Errors.
Код:
CMD:ranks(playerid, params[]) { new lstring[1255], rank[128]; format(rank, sizeof(rank), ""COLOR_WHITE"Rank 0 - "COLOR_GREEN"%d scores - "COLOR_RED"%s\n", RANK0, RANK0NAME); strcat(lstring, rank); format(rank, sizeof(rank), ""COLOR_WHITE"Rank 1 - "COLOR_GREEN"%d scores - "COLOR_RED"%s\n", RANK1, RANK1NAME); strcat(lstring, rank); format(rank, sizeof(rank), ""COLOR_WHITE"Rank 2 - "COLOR_GREEN"%d scores - "COLOR_RED"%s\n", RANK2, RANK2NAME); strcat(lstring, rank); format(rank, sizeof(rank), ""COLOR_WHITE"Rank 3 - "COLOR_GREEN"%d scores - "COLOR_RED"%s\n", RANK3, RANK3NAME); strcat(lstring, rank); format(rank, sizeof(rank), ""COLOR_WHITE"Rank 4 - "COLOR_GREEN"%d scores - "COLOR_RED"%s\n", RANK4, RANK4NAME); strcat(lstring, rank); format(rank, sizeof(rank), ""COLOR_WHITE"Rank 5 - "COLOR_GREEN"%d scores - "COLOR_RED"%s\n", RANK5, RANK5NAME); strcat(lstring, rank); format(rank, sizeof(rank), ""COLOR_WHITE"Rank 6 - "COLOR_GREEN"%d scores - "COLOR_RED"%s\n", RANK6, RANK6NAME); strcat(lstring, rank); format(rank, sizeof(rank), ""COLOR_WHITE"Rank 7 - "COLOR_GREEN"%d scores - "COLOR_RED"%s\n", RANK7, RANK7NAME); strcat(lstring, rank); format(rank, sizeof(rank), ""COLOR_WHITE"Rank 8 - "COLOR_GREEN"%d scores - "COLOR_RED"%s\n", RANK8, RANK8NAME); strcat(lstring, rank); format(rank, sizeof(rank), ""COLOR_WHITE"Rank 9 - "COLOR_GREEN"%d scores - "COLOR_RED"%s\n", RANK9, RANK9NAME); strcat(lstring, rank); format(rank, sizeof(rank), ""COLOR_WHITE"Rank 10 - "COLOR_GREEN"%d scores - "COLOR_RED"%s\n", RANK10, RANK10NAME); strcat(lstring, rank); format(rank, sizeof(rank), ""COLOR_WHITE"Rank 11 - "COLOR_GREEN"%d scores - "COLOR_RED"%s\n", RANK11, RANK11NAME); strcat(lstring, rank); format(rank, sizeof(rank), ""COLOR_WHITE"Rank 12 - "COLOR_GREEN"%d scores - "COLOR_RED"%s\n", RANK12, RANK12NAME); strcat(lstring, rank); ShowPlayerDialog(playerid, 1122, DIALOG_STYLE_MSGBOX,""COLOR_WHITE"Ranks",lstring,"Close",""); return 1; }