How to do this? +REP -
TheMightyEddy - 17.04.2012
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!
Re: How to do this? +REP -
Jonny5 - 17.04.2012
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
Re: How to do this? +REP -
TheMightyEddy - 17.04.2012
Here thanks for your reply Jonny5. Check my edit.
Re: How to do this? +REP -
Jonny5 - 17.04.2012
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
Re: How to do this? +REP -
TheMightyEddy - 17.04.2012
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?
Re: How to do this? +REP -
ReneG - 17.04.2012
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.
Re: How to do this? +REP -
TheMightyEddy - 17.04.2012
Okay then what can I do? How can I make them enter interiors with multiple interior entering spots?
Re: How to do this? +REP -
Jonny5 - 17.04.2012
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)
Re: How to do this? +REP -
Derek_Westbrook - 17.04.2012
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.
Re: How to do this? +REP -
TheMightyEddy - 17.04.2012
Okay thanks but can anyone point me to some other tutorials?