25.01.2014, 17:29
I get this errors when I have added it:
Line 841 =
pawn Код:
D:\Pl0.3x [Euro] Server 8\pawno\systemadmin.pwn(103) : warning 201: redefinition of constant/macro (symbol "pInfo")
D:\Pl0.3x [Euro] Server 8\pawno\systemadmin.pwn(841) : error 028: invalid subscript (not an array or too many subscripts): "pInfo"
D:\Pl0.3x [Euro] Server 8\pawno\systemadmin.pwn(841) : warning 215: expression has no effect
D:\Pl0.3x [Euro] Server 8\pawno\systemadmin.pwn(841) : error 001: expected token: ";", but found "]"
D:\Pl0.3x [Euro] Server 8\pawno\systemadmin.pwn(841) : error 029: invalid expression, assumed zero
D:\Pl0.3x [Euro] Server 8\pawno\systemadmin.pwn(841) : 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.
pawn Код:
public OnPlayerDeath(playerid, killerid, reason)
{
pInfo[playerid][pDeaths]++;
pInfo[killerid][pKills]++;
SendDeathMessage(killerid, playerid, reason);
SetPlayerScore(killerid, GetPlayerScore(killerid, +1);
Deaths[playerid] ++;
InMinigame[playerid] = 0;
SendDeathMessage(killerid, playerid, reason);
return 1;
}
pawn Код:
pInfo[playerid][pDeaths]++; // Replace with your variables