SA-MP Forums Archive
Dynamic Checkpoint not showing. - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: Dynamic Checkpoint not showing. (/showthread.php?tid=444011)



Dynamic Checkpoint not showing. - FunnyBear - 14.06.2013

Hey,

I have recently added a few Dynamic Checkpoint (one for my bank and one for my church). There is one in the interior and in the exterior. The checkpoints in the exterior of the bank & church show but when I enter in any of the interiors, the checkpoint inside don't show. But if I walk up to where the checkpoint (interior CP) is supposed to go, it still teleports me but the interior checkpoint just don't show.

Here is my code:

pawn Код:
//----[CHECKPOINTS]--------
new cp_CHURCHENTER,
    cp_CHURCHEXIT;
new
    cp_BankEnter,
    cp_BankExit;
And under OnGameModeInit, I have this:

pawn Код:
cp_CHURCHEXIT = CreateDynamicCP( 1964.1338, -350.7512, 1092.9454, 2.0, .interiorid = 0 );
    cp_CHURCHENTER = CreateDynamicCP( 1777.4757, -1751.3462, 14.5235, 2.0, .interiorid = 0 );
    cp_BankEnter = CreateDynamicCP( 1381.1968, -1088.7224,27.3906, 2.0, .interiorid = 0 );
    cp_BankExit = CreateDynamicCP( 2935.2656, -1802.0181, 1191.0657, 2.0, .interiorid = 0 );
The interiors are right because I have checked the interiors with /interior. Can someone help me?


Re: Dynamic Checkpoint not showing. - IstuntmanI - 14.06.2013

It's because SA:MP creates the checkpoint (visual) on the highest Z position of the ground of the "natural" world, not custom world, but the "collision" is where it should be (your set position), there's nothing you can do about this.


Re: Dynamic Checkpoint not showing. - FunnyBear - 15.06.2013

Quote:
Originally Posted by IstuntmanI
Посмотреть сообщение
It's because SA:MP creates the checkpoint (visual) on the highest Z position of the ground of the "natural" world, not custom world, but the "collision" is where it should be (your set position), there's nothing you can do about this.
So theres no resoloution?


Re: Dynamic Checkpoint not showing. - FunnyBear - 15.06.2013

Also, I use incognitos streamer plugin.