Hello...
#1

Hello, i need some info about InterpolateCameraPos and InterpolateCameraLookAt ... I put it on my login and don't work ... Nothing happen .

Код HTML:
if(fexist(UserPath(playerid)))
	{
	    INI_ParseFile(UserPath(playerid), "LoadUser_%s", .bExtra = true, .extra = playerid);
		ShowPlayerDialog(playerid, DIALOG_LOGIN, DIALOG_STYLE_PASSWORD,"Login", "You already have an registred account ! Type you password below to login:", "Login", "Quit");
		
        SetPlayerTime(playerid, 23, 0);
        SetPlayerWeather(playerid, 2);
		isLogging[playerid] = true;
		TogglePlayerSpectating(playerid, 1);
		InterpolateCameraPos(playerid, 975.8445,-1885.6123,51.3452, 170.6750,-1819.0737,29.9493, 120000, CAMERA_MOVE);
		InterpolateCameraLookAt(playerid, 978.0808,-1828.8401,13.3273, 168.7359,-1769.5266,4.4659,120000, CAMERA_MOVE);
		SendClientMessage(playerid, FactColor[9], "This account it's already registred ! Type your password to login ...");
	}
	else
	{
	    SetPlayerTime(playerid, 23, 0);
        SetPlayerWeather(playerid, 2);
	    isLogging[playerid] = true;
		ShowPlayerDialog(playerid, DIALOG_REGISTER, DIALOG_STYLE_PASSWORD, "Registering...", "You don't have an registred account ! Type you password below to register to our server:", "Register", "Quit");
        InterpolateCameraPos(playerid, 975.8445,-1885.6123,51.3452, 170.6750,-1819.0737,29.9493, 120000, CAMERA_MOVE);
		InterpolateCameraLookAt(playerid, 978.0808,-1828.8401,13.3273, 168.7359,-1769.5266,4.4659,120000, CAMERA_MOVE);
		SendClientMessage(playerid, FactColor[9], "That name it's not Registered on our server ! Type a strong password and join US !");
	}
P.S: It shows sometimes ... many times it didn't work ... +REP for help .
Reply


Messages In This Thread
Hello... - by Mariciuc223 - 07.08.2015, 18:18
Re: Hello... - by SickAttack - 07.08.2015, 18:28
Re: Hello... - by Mariciuc223 - 07.08.2015, 18:30
Re: Hello... - by zDivine - 07.08.2015, 19:04
Re: Hello... - by SickAttack - 07.08.2015, 19:09
Re: Hello... - by Mariciuc223 - 07.08.2015, 19:41

Forum Jump:


Users browsing this thread: 1 Guest(s)