30.07.2009, 01:07
ok these are 2 checkpoints
[PAWN)
else if(checkpointid == PIZZASTACKED_LV_OUT)
{
GameTextForPlayer(playerid,"OUTSIDE LV WELL STACKED PIZZA!",3000,5);
SetCameraBehindPlayer(playerid);
SetPlayerFacingAngle(playerid, 0.000);
SetPlayerPos(playerid,372.3520,-130.5510,1001.4922); // LVDM_SWP_PizzaStacked_IN
SetPlayerInterior(playerid,5);
SetPlayerVirtualWorld(playerid, 1);
}
else if(checkpointid == PIZZASTACKED_SF_OUT)
{
GameTextForPlayer(playerid,"OUTSIDE SF WELL STACKED PIZZA!",3000,5);
SetCameraBehindPlayer(playerid);
SetPlayerFacingAngle(playerid, 0.000);
SetPlayerPos(playerid,372.3520,-130.5510,1001.4922); // SFDM_SWP_PizzaStacked_IN
SetPlayerInterior(playerid,5);
SetPlayerVirtualWorld(playerid, 2);
}
[/PAWN)
and here are the checkpoints defined
[PAWN)
public SuperCheckpointStreamer(playerid)
{
if(world_id = 1)
{
PIZZASTACKED_LV_IN = SetPlayerStreamCheckpoint(playerid, 372.2589,-133.0136,1001.4922, 1.5, 100); //LVDM_CP_PizzaStacked_IN
}
if(world_id = 2)
{
PIZZASTACKED_SF_IN = SetPlayerStreamCheckpoint(playerid, 372.2589,-133.0136,1001.4922, 1.5, 100); //SFDM_CP_PizzaStacked_IN
}
}
[/PAWN)
ok hope u can help
[PAWN)
else if(checkpointid == PIZZASTACKED_LV_OUT)
{
GameTextForPlayer(playerid,"OUTSIDE LV WELL STACKED PIZZA!",3000,5);
SetCameraBehindPlayer(playerid);
SetPlayerFacingAngle(playerid, 0.000);
SetPlayerPos(playerid,372.3520,-130.5510,1001.4922); // LVDM_SWP_PizzaStacked_IN
SetPlayerInterior(playerid,5);
SetPlayerVirtualWorld(playerid, 1);
}
else if(checkpointid == PIZZASTACKED_SF_OUT)
{
GameTextForPlayer(playerid,"OUTSIDE SF WELL STACKED PIZZA!",3000,5);
SetCameraBehindPlayer(playerid);
SetPlayerFacingAngle(playerid, 0.000);
SetPlayerPos(playerid,372.3520,-130.5510,1001.4922); // SFDM_SWP_PizzaStacked_IN
SetPlayerInterior(playerid,5);
SetPlayerVirtualWorld(playerid, 2);
}
[/PAWN)
and here are the checkpoints defined
[PAWN)
public SuperCheckpointStreamer(playerid)
{
if(world_id = 1)
{
PIZZASTACKED_LV_IN = SetPlayerStreamCheckpoint(playerid, 372.2589,-133.0136,1001.4922, 1.5, 100); //LVDM_CP_PizzaStacked_IN
}
if(world_id = 2)
{
PIZZASTACKED_SF_IN = SetPlayerStreamCheckpoint(playerid, 372.2589,-133.0136,1001.4922, 1.5, 100); //SFDM_CP_PizzaStacked_IN
}
}
[/PAWN)
ok hope u can help