SetPlayerCameraLookAt/Pos Bug?
#1

Hello. I've implemented a login/register system with dialogs on my server. So under my OnPlayerConnect I decided to add something more cinematic than that plain ocean so this is my code.

pawn Код:
public OnPlayerConnect(playerid)
{
    SetPlayerCameraPos(playerid,1419.8225,-882.1562,50.2923);
    SetPlayerCameraLookAt(playerid,1415.6835,-807.9233,85.0602);
    if(fexist(UserPath(playerid)))
    {
        INI_ParseFile(UserPath(playerid), "LoadUser_%s", .bExtra = true, .extra = playerid);
        ShowPlayerDialog(playerid, DIALOG_LOGIN, DIALOG_STYLE_INPUT,""COL_WHITE"Login",""COL_WHITE"Type your password below to login.","Login","Quit");
       
    }
    else
    {
        ShowPlayerDialog(playerid, DIALOG_REGISTER, DIALOG_STYLE_INPUT,""COL_WHITE"Registering...",""COL_WHITE"Type your password below to register a new account.","Register","Quit");
    }
    return 1;
}
It compiles perfectly, it's just that when I connect, SetPlayerCameraPos/LookAt isn't doing what it's supposed to be doing. Any idea on what I'm doing wrong? This is driving me nuts.
Reply


Messages In This Thread
SetPlayerCameraLookAt/Pos Bug? - by ReneG - 13.02.2012, 04:12
Re: SetPlayerCameraLookAt/Pos Bug? - by ReneG - 13.02.2012, 12:28
Re: SetPlayerCameraLookAt/Pos Bug? - by RicaNiel - 13.02.2012, 12:34
Re: SetPlayerCameraLookAt/Pos Bug? - by ReneG - 13.02.2012, 12:58

Forum Jump:


Users browsing this thread: 1 Guest(s)