checkpoint help
#1

How do I make a checkpoint? ;s
Reply
#2

Quote:
Originally Posted by Kar
how do i make a checkpoint ffs
why not just ask nicely?

https://sampwiki.blast.hk/wiki/SetPlayerCheckpoint
Reply
#3

how do i make it enter a building kind sir..
Reply
#4

bump>^?
Reply
#5

OnPlayerEnterCheckpoint

you add when a player goes in the checkpoint
SetPlayerPostion(co-rd);
it will send them there will the co-rd is the location where they go example go in a server get the interior co-rd and add it where i said co-rd hope this helps
Reply
#6

pawn Код:
SetPlayerCheckpoint(playerid, xxxx.xxxx, yyyy.yyyy, zzzz.zzzz, size.size); // remplace by your own x y z and size. This is checkpoint's position a size
pawn Код:
public OnPlayerEnterCheckpoint(playerid)
{
  SetPlayerInterior(playerid, interiorid); // change interiorid to the interior the player is going to be teleported.
  SetPlayerPos(playerid, xxxx.xxxx, yyyy.yyyy, zzzz.zzzz); // same as first xyz, but this time xyz are pos player is going to be teleported.
  SendClientMessage(playerid, COLOR, "* Congratulations, you found the hidden checkpoint, idiot!");
  return 1;
}
Quote:
Originally Posted by Kar
how do i make it enter a building kind sir..
You can't either use buildings checkpoints (yellow big arrows) or set the animation while entering the door, sir.
Reply
#7

Thanks.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)