RainThes
Новичок
PHP:
C:\Users\Sergey\Desktop\Elite Role Play\gamemodes\elite.pwn(4280) : error 001: expected token: ")", but found "["
C:\Users\Sergey\Desktop\Elite Role Play\gamemodes\elite.pwn(4280) : error 029: invalid expression, assumed zero
C:\Users\Sergey\Desktop\Elite Role Play\gamemodes\elite.pwn(4280) : warning 215: expression has no effect
C:\Users\Sergey\Desktop\Elite Role Play\gamemodes\elite.pwn(4280) : error 001: expected token: ";", but found "]"
C:\Users\Sergey\Desktop\Elite Role Play\gamemodes\elite.pwn(4280) : fatal error 107: too many error messages on one line
PHP:
case SEIF:
{
if(!response) return 0;
switch(listitem)
{
case 8312:
{
if(PlayerInfo[playerid][pSlot][2] == 24)// Это и есть строка ошибки.
{
PlayerInfo[playerid][pSDeag] += PlayerInfo[playerid][pSlotammo][2];
PlayerInfo[playerid][pSlotammo][2] = 0;
PlayerInfo[playerid][pSlot][2] = 0;
}
if(PlayerInfo[playerid][pSlot][2] == 23)
{
PlayerInfo[playerid][pSSd] += PlayerInfo[playerid][pSlotammo][2];
PlayerInfo[playerid][pSlotammo][2] = 0;
PlayerInfo[playerid][pSlot][2] = 0;
}
if(PlayerInfo[playerid][pSlot][3] == 25)
{
PlayerInfo[playerid][pSShot] += PlayerInfo[playerid][pSlotammo][3];
PlayerInfo[playerid][pSlotammo][3] = 0;
PlayerInfo[playerid][pSlot][3] = 0;
}
if(PlayerInfo[playerid][pSlot][6] == 33)
{
PlayerInfo[playerid][pSReaf] += PlayerInfo[playerid][pSlotammo][6];
PlayerInfo[playerid][pSlotammo][6] = 0;
PlayerInfo[playerid][pSlot][6] = 0;
}
if(PlayerInfo[playerid][pSlot][5] == 30)
{
PlayerInfo[playerid][pSAK] += PlayerInfo[playerid][pSlotammo][5];
PlayerInfo[playerid][pSlotammo][5] = 0;
PlayerInfo[playerid][pSlot][5] = 0;
}
if(PlayerInfo[playerid][pSlot][5] == 31)
{
PlayerInfo[playerid][pSM4] += PlayerInfo[playerid][pSlotammo][5];
PlayerInfo[playerid][pSlotammo][5] = 0;
PlayerInfo[playerid][pSlot][5] = 0;
}
PlayerInfo[playerid][pSSMG] += PlayerInfo[playerid][pSlotammo][5];
PlayerInfo[playerid][pSlotammo][4] = 0;
PlayerInfo[playerid][pSlot][4] = 0;
ResetPlayerWeapons(playerid);
OnPlayerUpdateRL(playerid);
}
