[Tutorial] [TUT]Basic Checkpoint Streamer
#17

Quote:
Originally Posted by ♣ Joker ♠
Quote:
Originally Posted by [EFS
]
Quote:
Originally Posted by [EFS
]
Quote:
Originally Posted by [HiC
TheKiller ]
Quote:
Originally Posted by [EFS
]
How to make to checkpoint will be just for ONE player not for evryone.... what i need to put instead of -1 ??
Their playerid.
Ok its work...Can you help me whit destroy checkpints whit command...Something like this....

pawn Код:
//code
And i get this error
C:\Users\NASTIE\Desktop\ExtremeFun\filterscripts\C heckpoint.pwn(602) : error 017: undefined symbol "CPiD"
Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase


1 Error.

But when i type that command, checkpoints are still visible on map... Can you help me...
Can someone help me?
Isnt it CPID ?

And what should the code do ?

If you want to disable the checkpoints you need to do
pawn Код:
CPDisabled[THE_CHECKPOINT_ID] = true;
or just
pawn Код:
DestroyCheckpoint(THE_CHECKPOINT_ID); //DestroyCheckpoint function is posted in the first post
@TheKiller
The first OnPlayerEnterStreamedCheckpoint uses CPID (which should be CPiD)
Done

Quote:
Originally Posted by [EFS
]
Not BAD but i make this command

pawn Код:
if(strcmp("/otkaz1", cmdtext, true, 10) == 0)
  {
    if(kam1[playerid] == 0 ) return SendClientMessage(playerid ,0xFF0000FF, "Nisi zaposlen!");
    else
    {
    SendClientMessage(playerid, 0xFF5A00FF, "------------------------------------------------");
    SendClientMessage(playerid, 0xFFFFFFFF, "Dao si otkaz.");
    SendClientMessage(playerid, 0xFFFFFFFF, "Vise ne radis kao vozac kamiona!");
    SendClientMessage(playerid, 0xFFFFFFFF, ".:: EFS ::.");
    SendClientMessage(playerid, 0xFF5A00FF, "------------------------------------------------");
    new
    string[128],
    name[MAX_PLAYER_NAME];
      GetPlayerName(playerid,name,MAX_PLAYER_NAME);
    format(string,sizeof string,"%s je dao otkaz",name);
    SendClientMessageToAll(0x6400FFFF,string);
   
    // Unisti!
    DestroyCheckpoint(44);
    DestroyCheckpoint(45);
    DestroyCheckpoint(46);
    DestroyCheckpoint(47);
    DestroyCheckpoint(48);
    DestroyCheckpoint(49);
    DestroyCheckpoint(50);
    DestroyCheckpoint(51);
    DestroyCheckpoint(52);
    DestroyCheckpoint(53);
   
    // DISABLE!
    CPDisabled[44] = true;
    CPDisabled[45] = true;
    CPDisabled[46] = true;
    CPDisabled[47] = true;
    CPDisabled[48] = true;
    CPDisabled[49] = true;
    CPDisabled[50] = true;
    CPDisabled[51] = true;
    CPDisabled[52] = true;
    CPDisabled[53] = true;

    }
    return 1;
  }
And when i type that command i still see checkpoint on the map.... please help
I would recommend you do it like this.
pawn Код:
new CP1 = CreateCheckpoint(....);
DestroyCheckpoint(CP1);
And there was a problem where it would only disable on the next stream but it shouldn't really matter.
Reply


Messages In This Thread
[TUT]Basic Checkpoint Streamer - by [HiC]TheKiller - 04.01.2010, 08:13
Re: [TUT]Basic Checkpoint Streamer - by V1ceC1ty - 04.01.2010, 08:53
Re: [TUT]Basic Checkpoint Streamer - by Deat_Itself - 04.01.2010, 09:16
Re: [TUT]Basic Checkpoint Streamer - by [03]Garsino - 04.01.2010, 09:45
Re: [TUT]Basic Checkpoint Streamer - by HydraX - 04.01.2010, 14:57
Re: [TUT]Basic Checkpoint Streamer - by [HiC]TheKiller - 04.01.2010, 18:23
Re: [TUT]Basic Checkpoint Streamer - by SegaX - 06.01.2010, 13:38
Re: [TUT]Basic Checkpoint Streamer - by Epic Shower - 30.03.2010, 21:26
Re: [TUT]Basic Checkpoint Streamer - by DarkPower - 06.04.2010, 22:21
Re: [TUT]Basic Checkpoint Streamer - by [HiC]TheKiller - 06.04.2010, 22:32
Re: [TUT]Basic Checkpoint Streamer - by DarkPower - 07.04.2010, 16:54
Re: [TUT]Basic Checkpoint Streamer - by DarkPower - 08.04.2010, 09:17
Re: [TUT]Basic Checkpoint Streamer - by Jay. - 08.04.2010, 09:19
Re: [TUT]Basic Checkpoint Streamer - by DarkPower - 08.04.2010, 16:47
Re: [TUT]Basic Checkpoint Streamer - by Nero_3D - 08.04.2010, 17:36
Re: [TUT]Basic Checkpoint Streamer - by DarkPower - 08.04.2010, 20:11
Re: [TUT]Basic Checkpoint Streamer - by [HiC]TheKiller - 08.04.2010, 22:38
Re: [TUT]Basic Checkpoint Streamer - by [MKD]Max - 07.10.2010, 13:53
Re: [TUT]Basic Checkpoint Streamer - by iRemix - 31.01.2011, 14:00
Re: [TUT]Basic Checkpoint Streamer - by Mean - 04.02.2011, 20:21
Re: [TUT]Basic Checkpoint Streamer - by michaelcosyns - 18.04.2013, 19:14
Re: [TUT]Basic Checkpoint Streamer - by JimmyCh - 22.08.2013, 15:09
Re: [TUT]Basic Checkpoint Streamer - by GabsReDeal - 12.11.2013, 15:11

Forum Jump:


Users browsing this thread: 2 Guest(s)