SA-MP Forums Archive
Moving camera - 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: Moving camera (/showthread.php?tid=260724)



Moving camera - Snowman12 - 10.06.2011

Hey i close the camera with a timer here

pawn Код:
public OnPlayerSpawn(playerid)
{
    KillTimer( Camera[playerid][Timer] );
    SetCameraBehindPlayer(playerid);
    return 1;
}
but when the player spawns there can be two outcomes either the player will spawn fine or the players camera will move to spawn point on the map and the camera will spin in a gray area


AW: Moving camera - Nero_3D - 10.06.2011

Maybe you overwrite your timer variable, so only one timer gets killed

Just show the part where you start the timer