Bren
Умник
PHP:
C:\Users\admin\Desktop\Mod 100\gamemodes\Gos.pwn(5726) : error 003: declaration of a local variable must appear in a compound block
C:\Users\admin\Desktop\Mod 100\gamemodes\Gos.pwn(5726) : error 017: undefined symbol "str"
C:\Users\admin\Desktop\Mod 100\gamemodes\Gos.pwn(5726) : warning 215: expression has no effect
C:\Users\admin\Desktop\Mod 100\gamemodes\Gos.pwn(5726) : error 001: expected token: ";", but found "]"
C:\Users\admin\Desktop\Mod 100\gamemodes\Gos.pwn(5726) : 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.
PHP:
if(PlayerInfo[playerid][pVip] == 2 || PlayerInfo[playerid][pAdmin] == 3)
new str[1166];
strcat(str, "{BFC0C2}Ïîãîäà: - ¹ 1\n");
strcat(str, "{BFC0C2}Ïîãîäà: - ¹ 2\n");
strcat(str, "{BFC0C2}Ïîãîäà: - ¹ 3\n");
strcat(str, "{BFC0C2}Ïîãîäà: - ¹ 4\n");
strcat(str, "{BFC0C2}Ïîãîäà: - ¹ 5\n");
strcat(str, "{BFC0C2}Ïîãîäà: - ¹ 6\n");
strcat(str, "{BFC0C2}Ïîãîäà: - ¹ 7\n");
strcat(str, "{BFC0C2}Ïîãîäà: - ¹ 8\n");
strcat(str, "{BFC0C2}Ïîãîäà: - ¹ 9\n");
strcat(str, "{BFC0C2}Ïîãîäà: - ¹ 10\n");
strcat(str, "{BFC0C2}Ïîãîäà: - ¹ 11\n");
strcat(str, "{BFC0C2}Ïîãîäà: - ¹ 12\n");
strcat(str, "{BFC0C2}Ïîãîäà: - ¹ 13\n");
strcat(str, "{BFC0C2}Ïîãîäà: - ¹ 14\n");
strcat(str, "{BFC0C2}Ïîãîäà: - ¹ 15\n");
strcat(str, "{BFC0C2}Ïîãîäà: - ¹ 16\n");
strcat(str, "{BFC0C2}Ïîãîäà: - ¹ 17\n");
strcat(str, "{BFC0C2}Ïîãîäà: - ¹ 18\n");
strcat(str, "{BFC0C2}Ïîãîäà: - ¹ 19\n");
strcat(str, "{BFC0C2}Ïîãîäà: - ¹ 20\n");
ShowPlayerDialog(playerid,7007,DIALOG_STYLE_LIST,"{FFA500}Ëè÷íàÿ ïîãîäà", str, "Ñìåíèòü", "Íàçàä");
return true;
