Show CP after CP
#7

pawn Код:
public OnPlayerEnterDynamicCP(playeird, checkpointid) //278
{

    if(checkpointid == CheckpointDriver[0]) // Checks if the checkpointid equals to Checkpoint[0]
    {
        if(Checkpoint[playerid] == 0)
        {
        SCM(playerid, -1, "Good job!");
        Checkpoint[playerid] = 1;
        ShowPlayerCP(CheckpointDriver[1]); // line that showing a CheckpointDriver[1]
        }
    }
    if(checkpointid == CheckpointDriver[1]) // Checks if the checkpointid equals to Checkpoint[1]
    {
        if(Checkpoint[playerid] == 1)
        {
        SendClientMessage(playerid, 0xFFFFFFFF, "This is \"Checkpoint[1]\"");
        GivePlayerMoney(playerid, + 200);
        }
    }
    return 1;
} //299

Errors:
Код:
F:\Mustafa\Dutch-RealLife\gamemodes\Haci.pwn(278) : error 025: function heading differs from prototype
F:\Mustafa\Dutch-RealLife\gamemodes\Haci.pwn(283) : error 017: undefined symbol "playerid"
F:\Mustafa\Dutch-RealLife\gamemodes\Haci.pwn(285) : error 017: undefined symbol "playerid"
F:\Mustafa\Dutch-RealLife\gamemodes\Haci.pwn(286) : error 017: undefined symbol "playerid"
F:\Mustafa\Dutch-RealLife\gamemodes\Haci.pwn(287) : error 017: undefined symbol "ShowPlayerCP"
F:\Mustafa\Dutch-RealLife\gamemodes\Haci.pwn(292) : error 017: undefined symbol "playerid"
F:\Mustafa\Dutch-RealLife\gamemodes\Haci.pwn(294) : error 017: undefined symbol "playerid"
F:\Mustafa\Dutch-RealLife\gamemodes\Haci.pwn(295) : error 017: undefined symbol "playerid"
F:\Mustafa\Dutch-RealLife\gamemodes\Haci.pwn(295) : warning 215: expression has no effect
F:\Mustafa\Dutch-RealLife\gamemodes\Haci.pwn(295) : error 001: expected token: ";", but found ")"
F:\Mustafa\Dutch-RealLife\gamemodes\Haci.pwn(295) : error 029: invalid expression, assumed zero
F:\Mustafa\Dutch-RealLife\gamemodes\Haci.pwn(295) : fatal error 107: too many error messages on one line

Compilation aborted.Pawn compiler 3.2.3664	 	 	Copyright © 1997-2006, ITB CompuPhase


11 Errors.
Reply


Messages In This Thread
Show CP after CP - by Mey6155 - 18.05.2014, 14:42
Re: Show CP after CP - by rumen98 - 18.05.2014, 14:47
Re: Show CP after CP - by ZachKnoxx - 18.05.2014, 14:50
Re: Show CP after CP - by rumen98 - 18.05.2014, 14:54
Re: Show CP after CP - by Mey6155 - 18.05.2014, 15:42
Re: Show CP after CP - by rumen98 - 18.05.2014, 15:48
Re: Show CP after CP - by Mey6155 - 19.05.2014, 13:34
Re: Show CP after CP - by Mey6155 - 19.05.2014, 15:11
Re: Show CP after CP - by Mey6155 - 19.05.2014, 16:37
Re: Show CP after CP - by JFF - 19.05.2014, 16:39

Forum Jump:


Users browsing this thread: 2 Guest(s)