Class selection not disappearing
#3

pawn Код:
CancelSelectTextDraw(playerid);
            printf("Setting player class to: %d", gClass[playerid]);
            SendClientMessage(playerid, C_GREY, "You have chosen your class and are now spawned.");

            TogglePlayerControllable(playerid, 1);
            TogglePlayerSpectating(playerid, 0);
            StopAudioStreamForPlayer(playerid);
            HideClassSelection(playerid);
            IsPlayerChoosingClass[playerid] = 0;
            SpawnPlayer(playerid);
pawn Код:
public OnPlayerRequestClass(playerid, classid)
{
    return 1;
}
Still need to press the spawn button to get spawned.
Reply


Messages In This Thread
Class selection not disappearing - by sjames - 04.08.2015, 15:34
Re: Class selection not disappearing - by Fancy - 04.08.2015, 15:49
Re: Class selection not disappearing - by sjames - 04.08.2015, 16:11
Re: Class selection not disappearing - by sjames - 04.08.2015, 16:48

Forum Jump:


Users browsing this thread: 1 Guest(s)