InterpolateCameraLookAt Help
#2

A little update:
I've used a CinematicCamera Editor I found here: https://sampforum.blast.hk/showthread.php?tid=329813

I used that to create one to test, still no luck:
pawn Код:
public OnPlayerConnect(playerid)
{
    playerOnline++;
    ResetVars(playerid);
    ConnectVars(playerid);
    new Query[300],string[128],pname[24],escpname[24];
    GetPlayerName(playerid,pname,24);
    mysql_real_escape_string(pname, escpname);
    format(Query, sizeof(Query), "SELECT * FROM `users` WHERE `Username` = '%s'", escpname);
    mysql_query(Query);
    mysql_store_result();
    if(mysql_num_rows() != 0)
    {
       
        InterpolateCameraPos(playerid, 384.976440, -1783.745849, 24.020172, 370.032226, -1797.584228, 14.453218, 20000, 2);
        InterpolateCameraLookAt(playerid, 384.515258, -1787.649169, 23.277631, 370.464813, -1801.427734, 13.433354, 20000, 2);
        format(string,sizeof(string),""chat" Welcome back %s",PlayerName(playerid));
        ShowPlayerDialog(playerid, DIALOG_LOGIN, DIALOG_STYLE_PASSWORD,string,""chat" Our system have detected your username registered please login","Login","Quit");
    }
    else
    {
        InterpolateCameraPos(playerid, 384.976440, -1783.745849, 24.020172, 370.032226, -1797.584228, 14.453218, 20000, 2);
        InterpolateCameraLookAt(playerid, 384.515258, -1787.649169, 23.277631, 370.464813, -1801.427734, 13.433354, 20000, 2);
        format(string,sizeof(string),""chat" Hello %s to "NAME"",PlayerName(playerid));
        ShowPlayerDialog(playerid, DIALOG_REGISTER, DIALOG_STYLE_PASSWORD,string,""chat" Welcome to "NAME" you'll be forced to register please click register!","Register","Quit");
    }
    mysql_free_result();
    return 1;
}
Reply


Messages In This Thread
InterpolateCameraLookAt Help - by DJ_Shocker - 03.09.2013, 17:19
Re: InterpolateCameraLookAt Help - by DJ_Shocker - 03.09.2013, 18:28
Re: InterpolateCameraLookAt Help - by Konstantinos - 03.09.2013, 18:31
Re: InterpolateCameraLookAt Help - by DJ_Shocker - 03.09.2013, 21:12

Forum Jump:


Users browsing this thread: 1 Guest(s)