07.02.2010, 07:35
forward OnPlaneCam(playerid);
public OnPlaneCam(playerid)
{
SetPlayerCameraPos(playerid, 1.6470,24.4273,1199.593;
SetPlayerCameraLookAt(playerid, 1.9569,32.0240,1199.593;
SetPlayerPos(playerid, 0.4966,25.3226,1199.593;
SetPlayerFacingAngle(playerid, 0.0);
SetPlayerInterior(playerid,1)
TogglePlayerControllable(playerid, 0);
LoopingAnim(playerid,"PED","SEAT_down",4.1,0,1,1,1 ,0);
SendClientMessage(playerid, COLOR_WHITE, "We Are in Our Way To Your Destination");
return 1;
}
if(dialogid == 600)
{
if(response)
{
if(listitem == 0)
{
SetTimerEx("OnPlaneCam",10000, false, "i", playerid);
SetPlayerPos(playerid, 1520.9661,-2532.5383,13.5469);
}
}
return 1;
}
what is wrong with this? it actually takes the player 10 seconds to play that animation
and it dont take em back to their destiny? please help im a newbie but i try
public OnPlaneCam(playerid)
{
SetPlayerCameraPos(playerid, 1.6470,24.4273,1199.593;
SetPlayerCameraLookAt(playerid, 1.9569,32.0240,1199.593;
SetPlayerPos(playerid, 0.4966,25.3226,1199.593;
SetPlayerFacingAngle(playerid, 0.0);
SetPlayerInterior(playerid,1)
TogglePlayerControllable(playerid, 0);
LoopingAnim(playerid,"PED","SEAT_down",4.1,0,1,1,1 ,0);
SendClientMessage(playerid, COLOR_WHITE, "We Are in Our Way To Your Destination");
return 1;
}
if(dialogid == 600)
{
if(response)
{
if(listitem == 0)
{
SetTimerEx("OnPlaneCam",10000, false, "i", playerid);
SetPlayerPos(playerid, 1520.9661,-2532.5383,13.5469);
}
}
return 1;
}
what is wrong with this? it actually takes the player 10 seconds to play that animation
and it dont take em back to their destiny? please help im a newbie but i try