SetPlayerCameraPos Not work help
#1

Not working, just show dialog from SQL_CheckAccount without set camera to the cordinate.

public OnPlayerRequestClass(playerid, classid)
{
if (IsPlayerNPC(playerid))
return 1;

if (!PlayerData[playerid][pAccount] && !PlayerData[playerid][pKicked])
{
new
time[3];

gettime(time[0], time[1], time[2]);
SetPlayerTime(playerid, time[0], time[1]);

TogglePlayerSpectating(playerid, 1);

PlayerData[playerid][pAccount] = 1;

SetPlayerPos(playerid, 313.109436, -1848.991210, -6.454225);
SetPlayerCameraPos(playerid, 313.109436, -1848.991210, 13.545774);
SetPlayerCameraLookAt(playerid, 313.130828, -1848.462646, 13.459357);

SQL_CheckAccount(playerid);
}
else
{
SpawnPlayer(playerid);
}
return 1;
}
Reply


Messages In This Thread
SetPlayerCameraPos Not work help - by Raefal - 14.11.2014, 12:15
Re: SetPlayerCameraPos Not work help - by UltraScripter - 14.11.2014, 12:21
Re: SetPlayerCameraPos Not work help - by X337 - 14.11.2014, 12:23
Re: SetPlayerCameraPos Not work help - by Raefal - 14.11.2014, 12:24
Re: SetPlayerCameraPos Not work help - by X337 - 14.11.2014, 12:47

Forum Jump:


Users browsing this thread: 4 Guest(s)