Is it possible to "PlayerSpectatePlayer" when you're on the logging screen
#6

Quote:
Originally Posted by xDeadlyBoy
Посмотреть сообщение
why don't you check it out?
i think it's possible.
I tried, maybe I did an error, so I was just making sure.

Quote:
Originally Posted by Sascha
Посмотреть сообщение
it's not possible at "OnPlayerConnect" when you are showing the Login Dialog.. however it would be possible at "OnPlayerRequestClass" if I'm right..
I can't get it to work... er...

pawn Код:
public OnPlayerRequestSpawn( playerid )
{
    SetTimerEx("LoadFav", 11000, false , "i" , playerid );
    TogglePlayerSpectating(playerid, 1);
    PlayerSpectatePlayer(playerid, 0);
    SetTimer("aftercamera", 10000, 1);
    SendClientMessage(playerid, -1, "LOADING");
    return 1;
}
forward aftercamera(playerid);
public aftercamera(playerid)
{
    TogglePlayerSpectating(playerid, 0);
}
public OnPlayerSpawn( playerid )
{
    SetPlayerPos(playerid, 2181.9321,1682.9525,11.0676);
    SetPlayerFacingAngle(playerid, 91.38);
    SetCameraBehindPlayer(playerid);
    return 1;
}
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 2 Guest(s)