Fake Checkpoints Include -
NaS - 06.01.2014
Fake CPs v1.0 by NaS
Hi SA-MP community!
Today I decided to release my label-checkpoint system I did some time ago.
With this include, you can create checkpoints which are built with 3D Text Labels.
Why use this include instead of the original ones/streamed checkpoints?
- You can create several checkpoints which are all visible at the same time, without needing to stream them.
- Besides the radius, you can also change the height, color and even add a checkpoint name which appears above it.
- A more decent look, from far you can only see the title of the checkpoint.
- Original/Streamed Checkpoints will not work very good on custom objects. They appear too high or on the ground of the SA map. FakeCPs will always be exact where you want them to be.
How is it working?
It uses Incognito's Streamer Plugin for the 3D Text Labels and the areas.
How do I use this include?
Put the
fakecps.inc file into your
pawno/include folder and include it at the top of your script (
#include <fakecps>). Make sure to include
Incognito's Streamer Plugin before you include this file.
Put these callbacks into your script:
public OnPlayerEnterFakeCP(playerid, fakecpid)
public OnPlayerLeaveFakeCP(playerid, fakecp)
You can then create checkpoints through the function
CreateFakeCP (detailed function info can be found withing the include file).
How do they look like?
Here are some examples (the yellow round platform is not included):
Which functions do I have to control the checkpoints?
Please take a look at the include file. They are all described there.
You can change the limit of checkpoints by defining "MAX_FAKECPS" before including this file like this:
#define MAX_FAKECPS 25
You can also change the text of the labels surrounding the checkpoint by defining "FCP_CP_TEXT" like this:
#define FCP_CP_TEXT "xXx"
I hope you find this useful an like it.
If I have more ideas what to extend/change I will update this include.
Current Version:
1.0
Download
Pastebin
Re: Fake Checkpoints Include -
Pottus - 06.01.2014
I like the way the coding looks in this include, it's exactly how a dynamic system should be designed.
AW: Fake Checkpoints Include -
NaS - 06.01.2014
Thanks
Yeah it's pretty easy and effective this way.
Re: Fake Checkpoints Include -
ToiletDuck - 06.01.2014
wow Nice
btw can i change my Checkpoints to this?
AW: Fake Checkpoints Include -
NaS - 06.01.2014
Sure you can, do you use streamed checkpoints (like CreateDynamicCheckpoint from the streamer plugin)?
Re: AW: Fake Checkpoints Include -
ToiletDuck - 06.01.2014
Quote:
Originally Posted by NaS
Sure you can, do you use streamed checkpoints (like CreateDynamicCheckpoint from the streamer plugin)?
|
nop, only objects i streamed..
i might use this
Re: Fake Checkpoints Include -
Kar - 06.01.2014
the fuck lmao *pictures* reminds me of ps1 games.
This is awesome! Nicely done!
Re: Fake Checkpoints Include -
iZN - 06.01.2014
Looks good, unique.
Re: Fake Checkpoints Include -
xeeZ - 06.01.2014
May I ask why are you using #pragma unused instead of stock?
AW: Fake Checkpoints Include -
NaS - 06.01.2014
Oh yea, forgot to change that.. Updated