10.10.2017, 23:13
Quote:
Uhhhh there is a weird bug.
When you create a new character after you register, When you click on the character. Nothing happens, You will be stuck. |
Код:
PlayerData[playerid][pGender] = 1;
Код:
PlayerData[playerid][pGender] = 0;
Код:
else if(playertextid == PlayerData[playerid][pTextdraws][22]) { if(!strlen(PlayerData[playerid][pBirthDate])) return SendClientMessage(playerid, COLOR_LIGHTRED, "SERVER: You must specify a birth date."); else if(!strlen(PlayerData[playerid][pOrigin])) return SendClientMessage(playerid, COLOR_LIGHTRED, "SERVER: You must specify an origin."); else { for(new i = 11; i < 23; i++) PlayerTextDrawHide(playerid, PlayerData[playerid][pTextdraws][i]); switch (PlayerData[playerid][pGender]) { case 1: ShowModelSelectionMenu(playerid, "Select Skin", MODEL_SELECTION_SKIN, g_aMaleSkins, sizeof(g_aMaleSkins), -16.0, 0.0, -55.0); case 2: ShowModelSelectionMenu(playerid, "Select Skin", MODEL_SELECTION_SKIN, g_aFemaleSkins, sizeof(g_aFemaleSkins), -16.0, 0.0, -55.0); } } }
Код:
else if(PlayerData[playerid][pGender] == 0) return SendClientMessage(playerid, COLOR_LIGHTRED, "SERVER: You must specify an origin.");
Код:
PlayerData[playerid][pTextdraws][16] = CreatePlayerTextDraw(playerid, 271.000000, 169.000000, "~r~Gender:~w~ Male");
Код:
PlayerData[playerid][pTextdraws][16] = CreatePlayerTextDraw(playerid, 271.000000, 169.000000, "~r~Gender:~w~ Please specify...");