16.05.2011, 19:14
Esse bug й geralmente causado pelo Dialog que estб na Prefeitura. Entгo procura isto aqui no seu GM:
E substitue todas as linhas que sгo DESTA !! E SOMENTE DESTA !! dialog por isso:
PHP код:
if(dialogid == 133)
PHP код:
if(dialogid == 133) {
if(response) {
if(listitem == 0)
{
GettingJob[playerid] = 1;
PlayerInfo[playerid][pJob] = GettingJob[playerid];
GettingJob[playerid] = 0;
SetPlayerSkin(playerid, 59);
PlayerInfo[playerid][pModel] = GetPlayerSkin(playerid);
TogglePlayerControllable(playerid, 1);
}
else if(listitem == 1)
{
GettingJob[playerid] = 2;
PlayerInfo[playerid][pJob] = GettingJob[playerid];
GettingJob[playerid] = 0;
SetPlayerSkin(playerid, 17);
PlayerInfo[playerid][pModel] = GetPlayerSkin(playerid);
TogglePlayerControllable(playerid, 1);
}
else if(listitem == 2)
{
GettingJob[playerid] = 7;
PlayerInfo[playerid][pJob] = GettingJob[playerid];
GettingJob[playerid] = 0;
SetPlayerSkin(playerid, 50);
PlayerInfo[playerid][pModel] = GetPlayerSkin(playerid);
TogglePlayerControllable(playerid, 1);
}
else if(listitem == 3)
{
GettingJob[playerid] = 12;
PlayerInfo[playerid][pJob] = GettingJob[playerid];
GettingJob[playerid] = 0;
SetPlayerSkin(playerid, 80);
PlayerInfo[playerid][pModel] = GetPlayerSkin(playerid);
TogglePlayerControllable(playerid, 1);
}
else if(listitem == 4)
{
GettingJob[playerid] = 13;
PlayerInfo[playerid][pJob] = GettingJob[playerid];
GettingJob[playerid] = 0;
SetPlayerSkin(playerid, 61);
PlayerInfo[playerid][pModel] = GetPlayerSkin(playerid);
TogglePlayerControllable(playerid, 1);
}
else if(listitem == 5)
{
GettingJob[playerid] = 15;
PlayerInfo[playerid][pJob] = GettingJob[playerid];
GettingJob[playerid] = 0;
SetPlayerSkin(playerid, 60);
PlayerInfo[playerid][pModel] = GetPlayerSkin(playerid);
TogglePlayerControllable(playerid, 1);
}
else if(listitem == 6)
{
GettingJob[playerid] = 16;
PlayerInfo[playerid][pJob] = GettingJob[playerid];
GettingJob[playerid] = 0;
SetPlayerSkin(playerid, 236);
PlayerInfo[playerid][pModel] = GetPlayerSkin(playerid);
TogglePlayerControllable(playerid, 1);
}
else if(listitem == 7)
{
GettingJob[playerid] = 17;
PlayerInfo[playerid][pJob] = GettingJob[playerid];
GettingJob[playerid] = 0;
SetPlayerSkin(playerid, 274);
PlayerInfo[playerid][pModel] = GetPlayerSkin(playerid);
TogglePlayerControllable(playerid, 1);
}
else if(listitem == 8)
{
GettingJob[playerid] = 18;
PlayerInfo[playerid][pJob] = GettingJob[playerid];
GettingJob[playerid] = 0;
SetPlayerSkin(playerid, 202);
PlayerInfo[playerid][pModel] = GetPlayerSkin(playerid);
TogglePlayerControllable(playerid, 1);
}
else if(listitem == 9)
{
GettingJob[playerid] = 19;
PlayerInfo[playerid][pJob] = GettingJob[playerid];
GettingJob[playerid] = 0;
SetPlayerSkin(playerid, 253);
PlayerInfo[playerid][pModel] = GetPlayerSkin(playerid);
TogglePlayerControllable(playerid, 1);
}
else if(listitem == 10)
{
GettingJob[playerid] = 20;
PlayerInfo[playerid][pJob] = GettingJob[playerid];
GettingJob[playerid] = 0;
SetPlayerSkin(playerid, 155);
PlayerInfo[playerid][pModel] = GetPlayerSkin(playerid);
TogglePlayerControllable(playerid, 1);
}
else if(listitem == 11)
{
GettingJob[playerid] = 6;
PlayerInfo[playerid][pJob] = GettingJob[playerid];
GettingJob[playerid] = 0;
SetPlayerSkin(playerid, 264);
PlayerInfo[playerid][pModel] = GetPlayerSkin(playerid);
TogglePlayerControllable(playerid, 1);
}
else if(listitem == 12)
{
GettingJob[playerid] = 11;
PlayerInfo[playerid][pJob] = GettingJob[playerid];
GettingJob[playerid] = 0;
SetPlayerSkin(playerid, 209);
PlayerInfo[playerid][pModel] = GetPlayerSkin(playerid);
TogglePlayerControllable(playerid, 1);
}
else if(listitem == 13)
{
GettingJob[playerid] = 22;
PlayerInfo[playerid][pJob] = GettingJob[playerid];
GettingJob[playerid] = 0;
SetPlayerSkin(playerid, 16);
PlayerInfo[playerid][pModel] = GetPlayerSkin(playerid);
TogglePlayerControllable(playerid, 1);
}
else if(listitem == 14)
{
GettingJob[playerid] = 21;
PlayerInfo[playerid][pJob] = GettingJob[playerid];
GettingJob[playerid] = 0;
SetPlayerSkin(playerid, 133);
PlayerInfo[playerid][pModel] = GetPlayerSkin(playerid);
TogglePlayerControllable(playerid, 1);
}
}
}