CheckPoints
#7

pawn Код:
new telecp_1;
new telecp_2;

public OnGameModeInit()
telecp_1 = CreateDynamicCP(YOUR_X, YOUR_Y, YOUR_Z, 1.5, -1, -1, -1, 150.0);
telecp_2 = CreateDynamicCP(YOUR_X, YOUR_Y, YOUR_Z, 3.0, -1, 5, -1, 300.0);

public OnPlayerEnterCheckpoint(playerid, checkpointid)
{
    if(checkpointid == lobbyexit)
    {
    SetPlayerInterior(playerid, 0);
    SetPlayerPos(playerid, -527.7829,2312.0740,50.1866);
    }
    return 1;
}
i did that but i am getting this error:
error 025: function heading differs from prototype

what is the problem
Reply


Messages In This Thread
CheckPoints - by saikumar - 29.04.2014, 08:34
Re: Commands in Dialog-List - by Eth - 29.04.2014, 08:43
Re: Commands in Dialog-List - by saikumar - 29.04.2014, 08:46
Re: CheckPoints - by Eth - 29.04.2014, 08:47
Re: CheckPoints - by saikumar - 29.04.2014, 08:49
Re: CheckPoints - by Eth - 29.04.2014, 08:54
Re: CheckPoints - by saikumar - 29.04.2014, 09:38
Re: CheckPoints - by Eth - 29.04.2014, 09:55
Re: CheckPoints - by Konstantinos - 29.04.2014, 10:25
Re: CheckPoints - by saikumar - 29.04.2014, 11:22

Forum Jump:


Users browsing this thread: 2 Guest(s)