[HELP] Compile errors!
#1

Errors:
pawn Код:
C:\Users\Rob\Documents\PAWNO\gamemodes\NRP.pwn(318) : error 029: invalid expression, assumed zero
C:\Users\Rob\Documents\PAWNO\gamemodes\NRP.pwn(318) : warning 215: expression has no effect
C:\Users\Rob\Documents\PAWNO\gamemodes\NRP.pwn(318) : error 001: expected token: ";", but found ")"
C:\Users\Rob\Documents\PAWNO\gamemodes\NRP.pwn(318) : error 029: invalid expression, assumed zero
C:\Users\Rob\Documents\PAWNO\gamemodes\NRP.pwn(318) : fatal error 107: too many error messages on one line

Compilation aborted.Pawn compiler 3.2.3664 * * Copyright (c) 1997-2006, ITB CompuPhase
Here are the lines 314 - 339:
pawn Код:
public OnPlayerDeath(playerid, killerid, reason)
{
    PlayerInfo[killerid][pKills]++;
    PlayerInfo[playerid][pDeaths]++;
    if(pInsurance == 1(playerid))
    {
        SendClientMessage(playerid, COLOR_GREEN. "** You have been sent to All Saints Hospital **");
        SetPlayerPos(playerid, 1172.8149, -1325.5315, 15.4003);
        SetPlayerHealth(playerid, 100);
        GivePlayerMoney(playerid, -1000);
    }
    if(pInsurance == 2(playerid))
    {
        SendClientMessage(playerid, COLOR_GREEN. "** You have been sent to General Hospital **");
        SetPlayerPos(playerid, 2030.3564, -1408.9563, 16.9989);
        SetPlayerHealth(playerid, 100);
        GivePlayerMoney(playerid, -1000);
    }
      SendClientMessage(playerid, COLOR_GREEN. "** You have been sent to a hospital **");
      SendClientMessage(playerid, COLOR_GREEN. "** Next time buy insurance! **");
      SetPlayerPos(playerid, 2030.3564, -1408.9563, 16.9989);
      SetPlayerHealth(playerid, 100);
      GivePlayerMoney(playerid, -2500);
    return 1;
}
Reply


Messages In This Thread
[HELP] Compile errors! - by NewerthRoleplay - 29.04.2012, 18:45
Re: [HELP] Compile errors! - by ViniBorn - 29.04.2012, 18:49
Re: [HELP] Compile errors! - by Littlehelper - 29.04.2012, 18:51
Re: [HELP] Compile errors! - by MP2 - 29.04.2012, 18:51
Re: [HELP] Compile errors! - by NewerthRoleplay - 29.04.2012, 18:54
Re: [HELP] Compile errors! - by NewerthRoleplay - 29.04.2012, 19:01
Re: [HELP] Compile errors! - by ViniBorn - 29.04.2012, 19:08
Re: [HELP] Compile errors! - by NewerthRoleplay - 29.04.2012, 19:19
Re: [HELP] Compile errors! - by NewerthRoleplay - 29.04.2012, 22:54
Re: [HELP] Compile errors! - by Admigo - 29.04.2012, 23:29

Forum Jump:


Users browsing this thread: 1 Guest(s)