Checkpoint problem.
#1

/SOLVED.
Reply
#2

Virtual World?
Reply
#3

If you're using a streamer:

pawn Код:
new CPs[1];
#define JanitorCp 1
(1 stays for checkpoint number, if you dont have any other checkpoints, this will be the first)

OnPlayerEnterDynamicCP:

pawn Код:
if(checkpointid == CPs[JanitorCp])
{
//Do your things
}
On the command remove:

pawn Код:
SetPlayerCheckpoint(playerid,451.3937,231.4031,880.5094,10.0);
And add:

pawn Код:
CPs[JanitorCp] = CreateDynamicCP(451.3937,231.4031,880.5094,10.0);
Don't use default streamed checkpoint if you're willing to add multiple checkpoints in your gamemode.
Reply
#4

/SOLVED.
Reply
#5

index starts from 0 so
#define JanitorCp 0

anyway, pretty stupid use an array for an element.

if you dont see it in radar it can be an interior problem you have tried to create a checkpoint outside? (w/ the command)
Reply
#6

I believe this is a custom interior (default GTA interiors appear at a z height of 998 and up). Checkpoints don't work properly in custom interiors. They still work, but they won't show.
Reply
#7

/SOLVED.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)