|
|
#1 |
|
Banned
![]() Join Date: Mar 2011
Posts: 304
Reputation: 7
|
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! |
|
|
|
|
|
#2 |
|
Gangsta
![]() ![]() ![]() ![]() Join Date: Mar 2012
Location: Mi, USA
Posts: 937
Reputation: 143
|
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 http://forum.sa-mp.com/showthread.php?t=289660 but its up to you how you go about it. regards |
|
|
|
|
|
#3 |
|
Banned
![]() Join Date: Mar 2011
Posts: 304
Reputation: 7
|
Here thanks for your reply Jonny5. Check my edit.
|
|
|
|
|
|
#4 |
|
Gangsta
![]() ![]() ![]() ![]() Join Date: Mar 2012
Location: Mi, USA
Posts: 937
Reputation: 143
|
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 |
|
|
|
|
|
#5 |
|
Banned
![]() Join Date: Mar 2011
Posts: 304
Reputation: 7
|
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? |
|
|
|
|
|
#6 |
|
High-roller
![]() ![]() ![]() ![]() ![]() Join Date: Oct 2011
Location: Sublime Text 2
Posts: 2,008
Reputation: 326
|
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.
|
|
|
|
|
|
#7 |
|
Banned
![]() Join Date: Mar 2011
Posts: 304
Reputation: 7
|
Okay then what can I do? How can I make them enter interiors with multiple interior entering spots?
|
|
|
|
|
|
#8 |
|
Gangsta
![]() ![]() ![]() ![]() Join Date: Mar 2012
Location: Mi, USA
Posts: 937
Reputation: 143
|
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) |
|
|
|
|
|
#9 |
|
Banned
![]() Join Date: Jan 2012
Posts: 411
Reputation: 32
|
|
|
|
|
|
|
#10 |
|
Banned
![]() Join Date: Mar 2011
Posts: 304
Reputation: 7
|
Okay thanks but can anyone point me to some other tutorials?
|
|
|
|
![]() |
| Thread Tools | |
| Display Modes | |
|
|