Exit shop problem
#1

Quote:

#define BURGER6_CP 135
#define BURG6_EXT_CP 136
#define BURG6_ROB 137
#define BURGER7_CP 138
#define BURG7_EXT_CP 139
#define BURG7_ROB 140

Quote:

CreateCheckpoint(GLOBAL_OWNER_ID, BURG6_EXT_CP, 362.8733,-75.1687,1001.5078, 1.0);
SetCheckpointInterior(BURG6_EXT_CP, 10);
CreateCheckpoint(GLOBAL_OWNER_ID, BURG7_EXT_CP, 362.8733,-75.1687,1001.5078, 1.0);
SetCheckpointInterior(BURG6_EXT_CP, 10);

Quote:

CreateCheckpoint(GLOBAL_OWNER_ID, BURG6_ROB, 377.8729,-67.6715,1001.5151, 1.0);
SetCheckpointInterior(BURG6_ROB, 10);
CreateCheckpoint(GLOBAL_OWNER_ID, BURG7_ROB, 377.7348,-67.5423,1001.5151, 1.0);
SetCheckpointInterior(BURG6_ROB, 10);

Quote:

case BURG6_EXT_CP:
{
SetPlayerInterior(playerid,0);
SetPlayerPos(playerid,-1910.9235,828.9470,35.1719);
SetPlayerFacingAngle(playerid,311.7213);
SetCameraBehindPlayer(playerid);
return 1;
}
case BURG7_EXT_CP:
{
SetPlayerInterior(playerid,0);
SetPlayerPos(playerid,-2358.6018,1008.0052,50.7181);
SetPlayerFacingAngle(playerid,87.5985);
SetCameraBehindPlayer(playerid);
return 1;
}

when i go to enter to 2nd burger shop "BURG7" and when i come exit checkpoint so i got teleport to 1 burger exit place and even i setplayerpos but not working. canu tell me what wrongs here?
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)