Moving camera
#1

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
Reply
#2

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

Just show the part where you start the timer
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)