public OnPlayerSpawn(playerid)
{
SetPlayerPos(playerid,1787.9059,-2014.8525,13.4793);
TogglePlayerControllable(playerid,0);
SetPlayerCameraPos(playerid,1789.6177,-2015.1742,13.4852);
SetPlayerCameraLookAt(playerid,1813.9497,-1866.1736,13.5704);
SetTimerEx("FristLook",20000,false,"i",playerid);
SendClientMessage(playerid,0xFFFFFFAA,"Is this possible ?");
return 1;
}
forward FristLook(playerid);
public FristLook(playerid)
{
SetPlayerPos(playerid,1587.2069,-1014.5525,20.4793);
TogglePlayerControllable(playerid,0);
SetPlayerCameraPos(playerid,2526.6177,-2535.1742,13.4852);
SetPlayerCameraLookAt(playerid,1813.9497,-1866.1736,13.5704);
SetTimerEx("Seclook",20000,false,"i",playerid);
SendClientMessage(playerid,0xFFFFFFAA,"Is this possible ?");
return 1;
}
forward SecLook(playerid);
public SecLook(playerid)
{
SetPlayerPos(playerid,4587.5369,-1324.5525,22.4793);
TogglePlayerControllable(playerid,0);
SetPlayerCameraPos(playerid,2521.6177,-23235.174212,13.42852);
SetPlayerCameraLookAt(playerid,8213.9497,-5866.1736,23.5704);
SetTimerEx("3rdlook",20000,false,"i",playerid);
SendClientMessage(playerid,0xFFFFFFAA,"Is this possible ?");
return 1;
}
forward 3rdlook(playerid);
public 3rdlook(playerid)
{
SetPlayerPos(playerid,1425.5369,-2414.5525,22.4793);
TogglePlayerControllable(playerid,1);
SetPlayerCameraPos(playerid,6521.6177,-7323.14212,13.42852);
SetPlayerCameraLookAt(playerid,3213.9497,-5166.1736,53.5704);
SendClientMessage(playerid,0xFFFFFFAA,"Is this possible ?");
return 1;
}
capitals matter, you have ,
SetTimerEx("Seclook",20000,false,"i",playerid); but the public is SecLook rep++++++++++++++++ |
why you in every public posted toglleplayercontrol(playerid,0) it's enough once at first public, in tethod it's should work and not need pos everytime the position of player, because you can just toggleplayercontrol and just post the camera look
|