03.02.2012, 18:06
I got problem i get 8 erros with:
And here are the lines
Here is variable
I dont know where is problem if someone know reply here
Код:
H:\samp03dsvr_win32(1)\gamemodes\DP.pwn(215) : error 017: undefined symbol "playerid" H:\samp03dsvr_win32(1)\gamemodes\DP.pwn(216) : error 017: undefined symbol "playerid" H:\samp03dsvr_win32(1)\gamemodes\DP.pwn(217) : error 017: undefined symbol "playerid" H:\samp03dsvr_win32(1)\gamemodes\DP.pwn(218) : error 017: undefined symbol "playerid" H:\samp03dsvr_win32(1)\gamemodes\DP.pwn(219) : error 017: undefined symbol "playerid" H:\samp03dsvr_win32(1)\gamemodes\DP.pwn(220) : error 017: undefined symbol "playerid" H:\samp03dsvr_win32(1)\gamemodes\DP.pwn(221) : error 017: undefined symbol "playerid" H:\samp03dsvr_win32(1)\gamemodes\DP.pwn(222) : error 017: undefined symbol "playerid" Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase 8 Errors.
pawn Код:
Stats[playerid] = TextDrawCreate(499.000000, 110.000000, "~r~Kills: ~w~0 ~g~Deaths: ~w~0");
TextDrawBackgroundColor(Stats[playerid], 255);
TextDrawFont(Stats[playerid], 2);
TextDrawLetterSize(Stats[playerid], 0.159999, 1.000000);
TextDrawColor(Stats[playerid], -1);
TextDrawSetOutline(Stats[playerid], 0);
TextDrawSetProportional(Stats[playerid], 1);
TextDrawSetShadow(Stats[playerid], 1);
pawn Код:
new Text:Stats[MAX_PLAYERS];