[AJUDA] Profissгo bugada.
#9

Esse bug й geralmente causado pelo Dialog que estб na Prefeitura. Entгo procura isto aqui no seu GM:

PHP код:
if(dialogid == 133
E substitue todas as linhas que sгo DESTA !! E SOMENTE DESTA !! dialog por isso:
PHP код:
if(dialogid == 133) {
        if(
response) {
            if(
listitem == 0)
            {
              
GettingJob[playerid] = 1;
              
PlayerInfo[playerid][pJob] = GettingJob[playerid];
              
GettingJob[playerid] = 0;
              
SetPlayerSkin(playerid59);
              
PlayerInfo[playerid][pModel] = GetPlayerSkin(playerid);
              
TogglePlayerControllable(playerid1);
            }
            else if(
listitem == 1)
            {
              
GettingJob[playerid] = 2;
              
PlayerInfo[playerid][pJob] = GettingJob[playerid];
              
GettingJob[playerid] = 0;
              
SetPlayerSkin(playerid17);
              
PlayerInfo[playerid][pModel] = GetPlayerSkin(playerid);
              
TogglePlayerControllable(playerid1);
            }
            else if(
listitem == 2)
            {
              
GettingJob[playerid] = 7;
              
PlayerInfo[playerid][pJob] = GettingJob[playerid];
              
GettingJob[playerid] = 0;
              
SetPlayerSkin(playerid50);
              
PlayerInfo[playerid][pModel] = GetPlayerSkin(playerid);
              
TogglePlayerControllable(playerid1);
            }
            else if(
listitem == 3)
            {
              
GettingJob[playerid] = 12;
              
PlayerInfo[playerid][pJob] = GettingJob[playerid];
              
GettingJob[playerid] = 0;
              
SetPlayerSkin(playerid80);
              
PlayerInfo[playerid][pModel] = GetPlayerSkin(playerid);
              
TogglePlayerControllable(playerid1);
            }
            else if(
listitem == 4)
            {
              
GettingJob[playerid] = 13;
              
PlayerInfo[playerid][pJob] = GettingJob[playerid];
              
GettingJob[playerid] = 0;
              
SetPlayerSkin(playerid61);
              
PlayerInfo[playerid][pModel] = GetPlayerSkin(playerid);
              
TogglePlayerControllable(playerid1);
            }
            else if(
listitem == 5)
            {
              
GettingJob[playerid] = 15;
              
PlayerInfo[playerid][pJob] = GettingJob[playerid];
              
GettingJob[playerid] = 0;
              
SetPlayerSkin(playerid60);
              
PlayerInfo[playerid][pModel] = GetPlayerSkin(playerid);
              
TogglePlayerControllable(playerid1);
            }
            else if(
listitem == 6)
            {
              
GettingJob[playerid] = 16;
              
PlayerInfo[playerid][pJob] = GettingJob[playerid];
              
GettingJob[playerid] = 0;
              
SetPlayerSkin(playerid236);
              
PlayerInfo[playerid][pModel] = GetPlayerSkin(playerid);
              
TogglePlayerControllable(playerid1);
            }
            else if(
listitem == 7)
            {
              
GettingJob[playerid] = 17;
              
PlayerInfo[playerid][pJob] = GettingJob[playerid];
              
GettingJob[playerid] = 0;
              
SetPlayerSkin(playerid274);
              
PlayerInfo[playerid][pModel] = GetPlayerSkin(playerid);
              
TogglePlayerControllable(playerid1);
            }
            else if(
listitem == 8)
            {
              
GettingJob[playerid] = 18;
              
PlayerInfo[playerid][pJob] = GettingJob[playerid];
              
GettingJob[playerid] = 0;
              
SetPlayerSkin(playerid202);
              
PlayerInfo[playerid][pModel] = GetPlayerSkin(playerid);
              
TogglePlayerControllable(playerid1);
            }
            else if(
listitem == 9)
            {
              
GettingJob[playerid] = 19;
              
PlayerInfo[playerid][pJob] = GettingJob[playerid];
              
GettingJob[playerid] = 0;
              
SetPlayerSkin(playerid253);
              
PlayerInfo[playerid][pModel] = GetPlayerSkin(playerid);
              
TogglePlayerControllable(playerid1);
            }
            else if(
listitem == 10)
            {
              
GettingJob[playerid] = 20;
              
PlayerInfo[playerid][pJob] = GettingJob[playerid];
              
GettingJob[playerid] = 0;
              
SetPlayerSkin(playerid155);
              
PlayerInfo[playerid][pModel] = GetPlayerSkin(playerid);
              
TogglePlayerControllable(playerid1);
            }
            else if(
listitem == 11)
            {
              
GettingJob[playerid] = 6;
              
PlayerInfo[playerid][pJob] = GettingJob[playerid];
              
GettingJob[playerid] = 0;
              
SetPlayerSkin(playerid264);
              
PlayerInfo[playerid][pModel] = GetPlayerSkin(playerid);
              
TogglePlayerControllable(playerid1);
            }
            else if(
listitem == 12)
            {
              
GettingJob[playerid] = 11;
              
PlayerInfo[playerid][pJob] = GettingJob[playerid];
              
GettingJob[playerid] = 0;
              
SetPlayerSkin(playerid209);
              
PlayerInfo[playerid][pModel] = GetPlayerSkin(playerid);
              
TogglePlayerControllable(playerid1);
            }
            else if(
listitem == 13)
            {
              
GettingJob[playerid] = 22;
              
PlayerInfo[playerid][pJob] = GettingJob[playerid];
              
GettingJob[playerid] = 0;
              
SetPlayerSkin(playerid16);
              
PlayerInfo[playerid][pModel] = GetPlayerSkin(playerid);
              
TogglePlayerControllable(playerid1);
            }
            else if(
listitem == 14)
            {
              
GettingJob[playerid] = 21;
              
PlayerInfo[playerid][pJob] = GettingJob[playerid];
              
GettingJob[playerid] = 0;
              
SetPlayerSkin(playerid133);
              
PlayerInfo[playerid][pModel] = GetPlayerSkin(playerid);
              
TogglePlayerControllable(playerid1);
             }
        }
    } 
Reply


Messages In This Thread
[AJUDA] Profissгo bugada. - by Joao_VS - 16.05.2011, 17:21
Re: [AJUDA] Profissгo bugada. - by DartakousLien - 16.05.2011, 17:24
Re: [AJUDA] Profissгo bugada. - by Macintosh - 16.05.2011, 17:25
AW: [AJUDA] Profissгo bugada. - by Joao_VS - 16.05.2011, 17:32
Re: [AJUDA] Profissгo bugada. - by DartakousLien - 16.05.2011, 17:44
AW: [AJUDA] Profissгo bugada. - by Joao_VS - 16.05.2011, 18:10
Re: [AJUDA] Profissгo bugada. - by DartakousLien - 16.05.2011, 18:31
AW: [AJUDA] Profissгo bugada. - by Joao_VS - 16.05.2011, 18:40
Re: [AJUDA] Profissгo bugada. - by Shadoww5 - 16.05.2011, 19:14
AW: [AJUDA] Profissгo bugada. - by Joao_VS - 16.05.2011, 20:22

Forum Jump:


Users browsing this thread: 1 Guest(s)