[FilterScript] [FS] Navigation System
#25

To remove the checkpoint:

Quote:
Originally Posted by Nero_3D
when you use something like gPlayerCheckpointStatus[playerid] than
pawn Code:
public OnPlayerEnterCheckpoint(playerid)
{
    switch(gPlayerCheckpointStatus[playerid])
    {
        case 1: //...
        default: DisablePlayerCheckpoint(playerid);
    }
    return 1;
}
if you havent some variable than just add in OnPlayerEnterCheckpoint
pawn Code:
DisablePlayerCheckpoint(playerid);
before return 1;
and a command for disabling checkpoints
pawn Code:
if(!strcmp("/removecp",cmdtext,true)) //remove the checkpoint for the player
{
    DisablePlayerCheckpoint(playerid);
    return 1;
}
the command comes in OnPlayerCommandText how all other too
Reply


Messages In This Thread
[FS] Navigation System - by Michelle1991 - 01.06.2008, 10:40
Re: [FS] Navigation System - by Masj - 01.06.2008, 10:59
Re: [FS] Navigation System - by alexander.m - 01.06.2008, 11:00
Re: [FS] Navigation System - by mikster1 - 06.07.2008, 07:53
Re: [FS] Navigation System - by Marcel - 06.07.2008, 08:32
Re: [FS] Navigation System - by Zh3r0 - 06.07.2008, 09:05
Re: [FS] Navigation System - by [IB]Scorcher - 06.07.2008, 09:21
Re: [FS] Navigation System - by Zh3r0 - 06.07.2008, 09:39
Re: [FS] Navigation System - by [IB]Scorcher - 06.07.2008, 09:41
Re: [FS] Navigation System - by Marcel - 06.07.2008, 09:42
Re: [FS] Navigation System - by [IB]Scorcher - 06.07.2008, 09:43
Re: [FS] Navigation System - by Zh3r0 - 06.07.2008, 11:54
Re: [FS] Navigation System - by [IB]Scorcher - 06.07.2008, 12:00
Re: [FS] Navigation System - by Zh3r0 - 06.07.2008, 12:06
Re: [FS] Navigation System - by [IB]Scorcher - 06.07.2008, 12:42
Re: [FS] Navigation System - by Marcel - 06.07.2008, 13:21
Re: [FS] Navigation System - by [IB]Scorcher - 06.07.2008, 13:24
Re: [FS] Navigation System - by Zh3r0 - 06.07.2008, 13:27
Re: [FS] Navigation System - by Marcel - 06.07.2008, 13:28
Re: [FS] Navigation System - by Zh3r0 - 06.07.2008, 13:30
Re: [FS] Navigation System - by [IB]Scorcher - 06.07.2008, 13:38
Re: [FS] Navigation System - by Jonte92 - 06.07.2008, 13:55
Re: [FS] Navigation System - by nicke157 - 11.07.2008, 06:28
Re: [FS] Navigation System - by DarkSnow - 12.07.2008, 15:48
Re: [FS] Navigation System - by nicke157 - 12.07.2008, 19:42
Re: [FS] Navigation System - by Zezombia - 13.07.2008, 05:45
Re: [FS] Navigation System - by DarkSnow - 13.07.2008, 13:51
Re: [FS] Navigation System - by BillyBob31 - 14.07.2008, 02:42
Re: [FS] Navigation System - by EliteUltra - 23.07.2008, 17:07
Re: [FS] Navigation System - by krambaos - 23.07.2008, 17:50
Re: [FS] Navigation System - by boelie - 19.09.2009, 12:29

Forum Jump:


Users browsing this thread: 1 Guest(s)