+1 score +1 deaths
#5

I get this errors when I have added it:

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;
}
Line 841 =
pawn Код:
pInfo[playerid][pDeaths]++; // Replace with your variables
Reply


Messages In This Thread
+1 score +1 deaths - by mickos - 23.01.2014, 08:23
Re: +1 score +1 deaths - by Scottas - 23.01.2014, 08:28
Re: +1 score +1 deaths - by MatriXgaMer - 23.01.2014, 08:29
Re: +1 score +1 deaths - by boomerboom - 23.01.2014, 08:37
Re: +1 score +1 deaths - by mickos - 25.01.2014, 17:29
Re: +1 score +1 deaths - by Scottas - 25.01.2014, 19:17
Re: +1 score +1 deaths - by mickos - 25.01.2014, 19:21
Re: +1 score +1 deaths - by Scottas - 25.01.2014, 19:38
Re: +1 score +1 deaths - by mickos - 25.01.2014, 19:59
Re: +1 score +1 deaths - by MahdiGames - 25.01.2014, 22:10
Re: +1 score +1 deaths - by Shetch - 25.01.2014, 22:19
Re: +1 score +1 deaths - by MahdiGames - 25.01.2014, 22:25

Forum Jump:


Users browsing this thread: 1 Guest(s)