0.3z bug: Can't use SpawnPlayer while player is in class selection.
#3

pawn Код:
public OnPlayerConnect(playerid) {
    // Player is in class selection by default.
    SetSpawnInfo(playerid, 0, 0, 0.0, 0.0, 0.0, 0.0, 0, 0, 0, 0, 0, 0);
    SpawnPlayer(playerid); // Should force spawn the player out of class selection and in Blueberry farm.
    TogglePlayerControllable(playerid, 1); // does not work, player still can't control themself.
    return 1;
}
Try it yourself, won't work.
This method use to work before 0.3z releases.
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)