28.07.2014, 22:05
(
Последний раз редактировалось PraqueNome; 29.07.2014 в 00:22.
)
Код HTML:
if(orgPolicial[killerid] == true)
{
// Funзгo da prisгo
return 1; // Retorno para nгo seguir a diante
}
Код 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;
}

