16.05.2014, 00:11
no, if he's using the Stevo127 GameMode as a base, it's a little bit difficult !
Cause stevo uses a Checkpoint Streamer wich shows a checkpoints in a range of point, he use the Checkcoords tu use this,
look, you have to define the checkpoint at first, look after the others #define CP_XXX x
and add your checkpoint,
after that, you have two float,
search :
float:Checkcoord
at the end of this float, add the checkcoords of your checkpoint !
after that,
search :
float:Checkpoint
at the end, add the XYZ coordinates of your CheckPoint
then, at the bottom of this float, you will find multiple Lines with the CP names :
at the end, add the name of your checkpoint
THEN
go to the callback OnPlayerEnterCheckpoint
and add :
if(checkpointid == CP_YOURCP)
{
SetPlayerInterior(playerid,the id of the interior);
SetPlayerPos(playerid,the XYZ pos to TP);
SetCameraBehindThePlayer(playerid);
SendClientMessage(playerid, -1, "HERE YOU ARE ! CONGRATULATIONS !");
return 1;
}
hope you'll understand !
Cause stevo uses a Checkpoint Streamer wich shows a checkpoints in a range of point, he use the Checkcoords tu use this,
look, you have to define the checkpoint at first, look after the others #define CP_XXX x
and add your checkpoint,
after that, you have two float,
search :
float:Checkcoord
at the end of this float, add the checkcoords of your checkpoint !
after that,
search :
float:Checkpoint
at the end, add the XYZ coordinates of your CheckPoint
then, at the bottom of this float, you will find multiple Lines with the CP names :
at the end, add the name of your checkpoint
THEN
go to the callback OnPlayerEnterCheckpoint
and add :
if(checkpointid == CP_YOURCP)
{
SetPlayerInterior(playerid,the id of the interior);
SetPlayerPos(playerid,the XYZ pos to TP);
SetCameraBehindThePlayer(playerid);
SendClientMessage(playerid, -1, "HERE YOU ARE ! CONGRATULATIONS !");
return 1;
}
hope you'll understand !