SA-MP Forums Archive
{HELP}PLease Help With this plane system - 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)
+---- Forum: Help Archive (https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: {HELP}PLease Help With this plane system (/showthread.php?tid=126120)



{HELP}PLease Help With this plane system - Keeboo13 - 07.02.2010

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


Re: {HELP}PLease Help With this plane system - Mobster11 - 07.02.2010

well it takes 10secs cause of the timer being 10000

and what destination?