How to do this? +REP
#1

How do I make enter and exit check points? I just need a layout of how. For example when where to put the checkpoint and where to setplayer when he/she goes in checkpoint. Should be easy for you guys. +REP!

Edit: I'm NOT looking for pickups. Just check points (red circles) and also I already have the coordinates. I just need the layout. Thanks!
Reply
#2

well its really all done with /save
and the positions from the file is what you use.

thats how you get your spawn points.
youll also have to create 2 pick ups for each enter/exit

and when they pickup the outside pickup
spawn them inside and set there interior
and vise versa the other way.

personally i use this to make them
https://sampforum.blast.hk/showthread.php?tid=289660

but its up to you how you go about it.

regards
Reply
#3

Here thanks for your reply Jonny5. Check my edit.
Reply
#4

oh well you can only have 1 checkpoint at a time per player.
So youll have to delete the outside one once you teleport inside
and vise versa
I have never tried that route, but know its almost the same as using the pickups
besides your creating a checkpoint instead. And using the OnPlayerEnterCheckPoint callback,

also this would only allow you to make 1
unless you use a streamer to stream in the checkpoints.
then the above wouldn't be so bad.

I haven't done it with checkpoints so i wont be able to help
Reply
#5

Okay so would this work or not?:

SetPlayerCheckpoint
SetPlayerInterior
SetPlayerPos

I would need a couple of these. I don't know if this would work?
Reply
#6

It would be kinda hard to use checkpoints without using the object itself. Clients can only have one check point active at once, without an include of course.
Reply
#7

Okay then what can I do? How can I make them enter interiors with multiple interior entering spots?
Reply
#8

well use the pickup method.

just use the checkpoint model for the pickup so it looks like a checkpoint.
there's allot of tutorials on this, or you can use the include i posted
just change the model id to that of the checkpoint,
(i don't know that id off the top my head sorry)
Reply
#9

Quote:
Originally Posted by TheMightyEddy
Посмотреть сообщение
Okay so would this work or not?:

SetPlayerCheckpoint
SetPlayerInterior
SetPlayerPos

I would need a couple of these. I don't know if this would work?
Yes it will work but it will be hard to use checkpoints..Use the exterior or idk what It called.
Reply
#10

Okay thanks but can anyone point me to some other tutorials?
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)