Moving the camera
#5

It still won't work, that's the code I used:
PHP код:
forward CameraMovement(playerid);
public 
CameraMovement(playerid)
{
    if(
LoginDialog[playerid])
    {
        new 
Float:p[3];
        
GetPlayerCameraPos(playerid,p[0],p[1],p[2]);
        
SetPlayerCameraPos(playerid,p[0],p[1]+1,p[2]);
        print(
"Camera moved");
        
movetimer[playerid] = SetTimerEx("CameraMovement",50,false,"i",playerid);
        return 
1;
    }
    return 
1;

OnPlayerRequestClass:
PHP код:
    movetimer[playerid] = SetTimerEx("CameraMovement",50,false,"i",playerid); 
Reply


Messages In This Thread
Moving the camera - by [IL]HeHu - 13.07.2011, 16:43
Re: Moving the camera - by Toni - 13.07.2011, 16:44
Re: Moving the camera - by [IL]HeHu - 13.07.2011, 16:46
Re: Moving the camera - by DRIFT_HUNTER - 13.07.2011, 16:51
Re: Moving the camera - by [IL]HeHu - 13.07.2011, 17:04
Re: Moving the camera - by [IL]HeHu - 13.07.2011, 18:59
Re: Moving the camera - by [IL]HeHu - 13.07.2011, 19:37

Forum Jump:


Users browsing this thread: 2 Guest(s)