13.05.2015, 12:32
Quote:
Why you call SpawnPlayer(playerid) after TogglePlayerSpectating(playerid, false)? And you did not consider F4 feature.
|
No way to detect F4, but for now I would just do something like:
pawn Code:
public OnPlayerFullyConnected(playerid)
{
if (IsPlayerLoggedIn(playerid))
{
SpawnPlayer(playerid);
}
else
{
// Show register/login dialog, set camera, etc
}
}