17.09.2014, 01:29
See its From Onther Server And its not mixup the interior if u know this way please example it to me how to make it or any way not mixup the interior thanks,
PHP Code:
#define MAX_POINTS 44
//Checkpoint defines
#define CP_SFPDEnt 0
//Variables
new Float:checkCoords[MAX_POINTS][4] = {
{238.6099,144.4926,1003.0234,357.6617}, //SFPDEnt
};
new Float:checkpoints[MAX_POINTS][4] = {
{248.4119,108.9428,1003.2188,3.0}, //SFPDEnt
new checkpointType[MAX_POINTS] = {
CP_SFPDEnt
};
public OnPlayerEnterCheckpoint(playerid)
{
if(getCheckpointType(playerid) == CP_SFPDEnt)
{
if(IsPlayerInAnyVehicle(playerid))
{
SendClientMessage(playerid,COLOR_ERROR,"You must exit your vehicle before entering a checkpoint.");
return 1;
}
SetPlayerInterior(playerid,10);
SetPlayerPos(playerid,246.8460,114.5714,1003.2188);
SetPlayerFacingAngle(playerid,359.8049);
SetCameraBehindPlayer(playerid);
return 1;
}

