CheckPoints
#10

Quote:
Originally Posted by saikumar
Посмотреть сообщение
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;
}
this is not how exactly i made in script i just showed example

and thanks for info @Konstantinos

i used this:
public OnPlayerEnterCheckpoint(playerid, checkpointid)
instead of this:
public OnPlayerEnterDynamicCP(playerid, checkpointid)

anyway thanks for help
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: 1 Guest(s)