SA-MP Forums Archive
Exit shop problem - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: Exit shop problem (/showthread.php?tid=408002)



Exit shop problem - sscarface - 16.01.2013

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?