SA-MP Forums Archive
Creating Checkpoint entrances/exits - 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: Creating Checkpoint entrances/exits (/showthread.php?tid=594904)



Creating Checkpoint entrances/exits - yvoms - 25.11.2015

Hello guys,

Im creating a Cops and robbers server, however i have never worked with checkpoints before.
I'm going to add multiple checkpoints i think around 30-50 somewhat between them.
Some will have the same InteriorID so, im wondering how will i add the Virtualworld?

i'm trying to achieve something like the following checkpoints.
Entrance : http://prntscr.com/96rjvb
Exit : http://prntscr.com/96rk1d


also, how have they added the nice textdraw on top of the checkpoint?
Could someone please assist me with this, and possibly provide me with an example?


Re: Creating Checkpoint entrances/exits - lucamsx - 25.11.2015

It's a 3DText, not a textdraw.
https://sampwiki.blast.hk/wiki/Create3DTextLabel

If you want to use many checkpoints, take a look at Incognito's streamer.


Re: Creating Checkpoint entrances/exits - yvoms - 25.11.2015

Im already making use of the streamber by incognito.
Im wondering how can i name the checkpoints so i know which checkpoint im attaching to what teleportion


Re: Creating Checkpoint entrances/exits - lucamsx - 25.11.2015

i'd call them something like Binco1Exit, Binco1Enter, Ammu1Exit, Ammu1Enter etc...


Re: Creating Checkpoint entrances/exits - vassilis - 25.11.2015

Quote:
Originally Posted by yvoms
Посмотреть сообщение
Im already making use of the streamber by incognito.
Im wondering how can i name the checkpoints so i know which checkpoint im attaching to what teleportion
Noticing that you are begginer to PAWN, glad to have new people into that, i suggest you to start scripting something simple so you could understand the basics of the scripting language. Making a Cops N Robbers gamemode is not something simple it needs a lot effort and almost everything you know from scripting.
At the question you have done here. I would suggestion you to use an array.


Re: Creating Checkpoint entrances/exits - yvoms - 25.11.2015

To be honest with you, i lack a bunch with programming languages.
But to my experience ; Doing something the hard way learns you the most.
I've been around for a while already, i figured starting to make a nice gamemode would be nice ^^


Re: Creating Checkpoint entrances/exits - vassilis - 25.11.2015

Quote:
Originally Posted by yvoms
Посмотреть сообщение
To be honest with you, i lack a bunch with programming languages.
But to my experience ; Doing something the hard way learns you the most.
I've been around for a while already, i figured starting to make a nice gamemode would be nice ^^
Don't take it as offence and i apologise if you took it like that. I just came at that conclusion due to question about 3dText which is pretty basic. Good luck with the gamemode! As i said before you have to use an array for the checkpoints