help with checkpoints
#1

I have a coupple of checkpoint's which repeats. So when i enable first checkpoint everything work's perfect:

I can see it from long distance and it dissapears when i pickup it withaut enabling itself again when i leave checkpoint.

First checkpoint:

pawn Код:
vmcheckpoints[abcategory][playerid][0] = CreateDynamicCP(-2049.9878,-127.3140,35.2879, 5, 0, 0, playerid,300.0); //1
When picked up:

pawn Код:
if(checkpointid == vmcheckpoints[abcategory][playerid][0])
        {
            vmcheckpoints[abcategory][playerid][0] = 0;
            if(IsValidDynamicCP(vmcheckpoints[abcategory][playerid][0]))
            {
                DestroyDynamicCP(vmcheckpoints[abcategory][playerid][0]);
            }

            vmcheckpoints[abcategory][playerid][1] = CreateDynamicCP(-2019.8148,-145.6181,35.3203, 3, 0, 0, playerid,300.0);
            GameTextForPlayer(playerid, "Done", 3000, 3);
            return 1;

        }
When it creates antoher checkpoint i can't see it from long distance. I can see it just when i am very near it. And it shows up again withaut enabling it.

Anybody see the problem?
Reply
#2

anyone can help?
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)