Checkpoints that teleport
#1

does any one know of a in game checkpoint creator that you can set a checkpoint and once you get in it it teles you to the place that you want it to tele you? for example the san fierro airport. i want to put some checkpoints on the bottom platforms and once you get in the checkpoint it teles you up to the airport.
Reply
#2

if u have the checkpoint already

Код:
public OnPlayerEnterCheckpoint(playerid)
{
        SetPlayerPos(playerid,X,Y,Z); // This sets the player position
	return 1;
}
if u didnt have set a checkpoint

Код:
public OnPlayerConnect(playerid)
{
       SetPlayerCheckpoint(playerid,Float:x,Float:y,Float:z,Float:size);
       return 1;
}
Код:
playerid	The ID of the player to set the checkpoint of
Float:x	The X coordinate to place the checkpoint at
Float:y	The Y coordinate to place the checkpoint at
Float:z	The Z coordinate to place the checkpoint at
Float:size	The size of the checkpoint
Reply
#3

You should use a checkpoint streamer. Since you're wanting multiple checkpoints. SA-MP can only handle one checkpoint. Just search for a streamer as there's loads of them.
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)