SA-MP Forums Archive
[Help Needed] Tutorial 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)
+--- Thread: [Help Needed] Tutorial System (/showthread.php?tid=363977)



[Help Needed] Tutorial System - UnknownGamer - 29.07.2012

Код:
public NewTut0(playerid)
{
	SetPlayerCameraPos(playerid, 1493.7399, -1675.9810, 48.4293);
	SetPlayerCameraLookAt(playerid, 1494.7334, -1675.9669, 48.0993);
	SetTimer("NewTut1", 3400, 0);
	return 1;
}
public NewTut1(playerid)
{
    SetPlayerCameraPos(playerid, 1517.4000, -1672.9956, 23.9490);
	SetPlayerCameraLookAt(playerid, 1518.3938, -1673.0118, 23.8790);
	ClearAnimations(playerid);
	return 1;
}
Why when I put

SetPlayerCameraPos(playerid, 1493.7399, -1675.9810, 48.4293);
SetPlayerCameraLookAt(playerid, 1494.7334, -1675.9669, 48.0993);

It doesn't go back to the game screen, how do i get it to do that?