Enterable checkpoint
#5

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 !
Reply


Messages In This Thread
Enterable checkpoint - by yvoms - 15.05.2014, 23:44
Re: Enterable checkpoint - by Abagail - 15.05.2014, 23:51
Re: Enterable checkpoint - by yvoms - 15.05.2014, 23:55
Re: Enterable checkpoint - by Abagail - 16.05.2014, 00:01
Re : Enterable checkpoint - by Ramoboss - 16.05.2014, 00:11

Forum Jump:


Users browsing this thread: 1 Guest(s)