Interiors
#3

You need to use a streamer to have multiple checkpoints. I recommend Incognito's streamer plugin.

pawn Код:
new CP_LSPD;

public OnGameModeInit()
{
    CP_LSPD = CreateDynamicCheckpoint(...);
    return 1;
}

public OnPlayerEnterDynamicCheckpoint(playerid, checkpointid)
{
    if(checkpointid == CP_LSPD)
    {
        SetPlayerPos(playerid, x, y, z);
        SetPlayerFacingAngle(playerid, a);
        SetPlayerInterior(playerid, int);
    }
    return 1;
}
This is a template, it's not a working code. It's not a copy and paste job.
Reply


Messages In This Thread
Interiors - by Gooday - 06.12.2011, 13:57
Re: Interiors - by Stigg - 06.12.2011, 14:02
Re: Interiors - by MP2 - 06.12.2011, 14:03

Forum Jump:


Users browsing this thread: 1 Guest(s)