04.05.2012, 22:53
Heres the parts thats causing errors:
And heres the errors:
Please help.
pawn Код:
public OnPlayerDeath(playerid, killerid, reason)
{
PlayerInfo[killerid][pKills]++;
PlayerInfo[playerid][pDeaths]++;
PlayerInfo[playerid][pScore] + 2;
ServerInfo[sKills]++;
ServerInfo[sDeaths]++;
return 1;
}
And heres the errors:
Код:
C:\Users\Keegan\Desktop\filterscripts\WWAdmin.pwn(193) : warning 215: expression has no effect C:\Users\Keegan\Desktop\filterscripts\WWAdmin.pwn(195) : error 028: invalid subscript (not an array or too many subscripts): "ServerInfo" C:\Users\Keegan\Desktop\filterscripts\WWAdmin.pwn(195) : warning 215: expression has no effect C:\Users\Keegan\Desktop\filterscripts\WWAdmin.pwn(195) : error 001: expected token: ";", but found "]" C:\Users\Keegan\Desktop\filterscripts\WWAdmin.pwn(195) : error 029: invalid expression, assumed zero C:\Users\Keegan\Desktop\filterscripts\WWAdmin.pwn(195) : fatal error 107: too many error messages on one line Compilation aborted.Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase 4 Errors.