22.04.2009, 10:25
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:
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..
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);
}