help, timer...
#1

I wish that after the command /open camera appear in the job-site and then return the camera to the player
I have done so:
pawn Код:
forward Entry(playerid);

    if(strcmp("/open", cmdtext, true, 5) == 0)
    {
        {
        SetPlayerCameraPos(playerid, 1594.8840,1073.5481,10.3608);
        SetPlayerCameraLookAt(playerid, 1594.8840,1073.5481,10.3608);
        SetTimerEx("entry", 1300, 1, "i");
        }
        return 1;
    }

    public Entry(playerid)
    {
        SetCameraBehindPlayer(playerid);
    }
But there is a problem when I enter /open Camera is in the right place, but once the timer ends with the camera remains the same there..
Reply


Messages In This Thread
help, timer... - by user226 - 22.04.2009, 10:25
Re: help, timer... - by afei - 22.04.2009, 10:31
Re: help, timer... - by user226 - 22.04.2009, 10:58
Re: help, timer... - by user226 - 22.04.2009, 13:25

Forum Jump:


Users browsing this thread: 3 Guest(s)