[Ajuda] Bug ao ser morto
#8

Код HTML:
if(orgPolicial[killerid] == true)
{ 
    // Funзгo da prisгo
    return 1; // Retorno para nгo seguir a diante
}
Tipo assim ?

Код HTML:
        else if(PlayerInfo[playerid][pHosp] >=1)
        {
            format(gstring,sizeof(gstring),"[Hospital] Vocк voltou ao Hospital para se Recuperar, Aguarde...");
            SendClientMessage(playerid,0xFF8080FF,gstring);
            return EntrarHospital(playerid);
        }
        else if(GetPVarInt(playerid, "PlayerMorto") >= 1)
        {
            SetPVarInt(playerid, "PlayerMorto", 0);
            PlayerInfo[playerid][pHospTime] = 80;
            PlayerInfo[playerid][pHosp] = 1;
            format(gstring,sizeof(gstring),"[Hospital] Recuperando, Aguarde...");
            SendClientMessage(playerid,0xFF8080FF,gstring);
            return EntrarHospital(playerid);
        }
		else if(PlayerInfo[playerid][pJailed] == 1)
		{
		    SetPlayerInterior(playerid, 6);
			rand = random(sizeof(gPresoPmSpawns));
			SetPlayerPos(playerid, gPresoPmSpawns[rand][0], gPresoPmSpawns[rand][1], gPresoPmSpawns[rand][2]); // Warp the player
			SetPlayerFacingAngle(playerid, gPresoPmSpawns[rand][3]);
			SendClientMessage(playerid, COLOR_LIGHTBLUE, "Sentenзa incompleta,Vocк voltou para Prisгo");
   return true;
		}
		else if(PlayerInfo[playerid][pJailed] == 2)
		{
		    SetPlayerInterior(playerid, 0);
            SetPlayerPos(playerid, 346.5848, 306.1026, 999.1484);
            SetPlayerInterior(playerid,6);
            SetPlayerVirtualWorld(playerid,random(20));
 	return true;
		}
		else if(PlayerInfo[playerid][pJailed] == 3)
		{
		    SetPlayerInterior(playerid, 10);
			rand = random(sizeof(gPresoROTASpawns));
			SetPlayerPos(playerid, gPresoROTASpawns[rand][0], gPresoROTASpawns[rand][1], gPresoROTASpawns[rand][2]); // Warp the player
			SetPlayerFacingAngle(playerid, gPresoROTASpawns[rand][3]);
			SendClientMessage(playerid, COLOR_LIGHTBLUE, "Sentenзa incompleta,Vocк voltou para Prisгo");
   return true;
		}
  		else if(PlayerInfo[playerid][pJailed] == 4)
		{
		    SetPlayerInterior(playerid, 18);
			rand = random(sizeof(gPresoPmSpawns));
			SetPlayerPos(playerid, gPresoPmSpawns[rand][0], gPresoPmSpawns[rand][1], gPresoPmSpawns[rand][2]); // Warp the player
			SetPlayerFacingAngle(playerid, gPresoPmSpawns[rand][3]);
			SendClientMessage(playerid, COLOR_LIGHTBLUE, "Sentenзa incompleta,Vocк voltou para Prisгo");
   return true;
		}
		else if(PlayerInfo[playerid][pJailed] == 5)
		{
		    SetPlayerInterior(playerid, 5);
			rand = random(sizeof(gPresoPfSpawns));
			SetPlayerPos(playerid, gPresoPfSpawns[rand][0], gPresoPfSpawns[rand][1], gPresoPfSpawns[rand][2]); // Warp the player
			SetPlayerFacingAngle(playerid, gPresoPfSpawns[rand][3]);
			SendClientMessage(playerid, COLOR_LIGHTBLUE, "Sentenзa incompleta,Vocк voltou para Prisгo");
   return true;
		}
		else if(PlayerInfo[playerid][pJailed] == 6)
		{
		    SetPlayerInterior(playerid, 0);
			SetPlayerPos(playerid,2695.6262,-2126.2393,13.5488);
			SendClientMessage(playerid, COLOR_LIGHTBLUE, "Sentenзa incompleta,Vocк voltou para Prisгo");
   return true;
		}
		else if(PlayerInfo[playerid][pJailed] == 7)
		{
		    SetPlayerInterior(playerid, 0);
			SetPlayerPos(playerid,-1293.2203,490.5885,11.1953);
			SendClientMessage(playerid, COLOR_LIGHTBLUE, "Sentenзa incompleta,Vocк voltou para Prisгo");
   return true;
		}
JA ARRUMEI O BUG OBRIADO A VCS
Reply


Messages In This Thread
Bug ao ser morto - by PraqueNome - 27.07.2014, 04:16
Re: Bug ao ser morto - by PraqueNome - 27.07.2014, 16:06
Re: Bug ao ser morto - by SpeakDS - 27.07.2014, 18:12
Re: Bug ao ser morto - by ipsLuan - 27.07.2014, 18:16
Re: Bug ao ser morto - by Ley - 27.07.2014, 21:02
Re: Bug ao ser morto - by PraqueNome - 27.07.2014, 21:25
Re: Bug ao ser morto - by PraqueNome - 28.07.2014, 15:31
Re: Bug ao ser morto - by PraqueNome - 28.07.2014, 22:05

Forum Jump:


Users browsing this thread: 1 Guest(s)