28.12.2014, 22:42
Quando o player sair do hospital e estiver com level de procurado maior ou igual a 1, ele й preso.
Espero ter ajudado.
Espero ter ajudado.
PHP Code:
if(GetPlayerWantedLevel(playerid) => 1)
{
SetPlayerInterior(playerid, 6);
rand = random(sizeof(gPresoPmSpawns));
SetPlayerPos(playerid, gPresoPmSpawns[rand][0], gPresoPmSpawns[rand][1], gPresoPmSpawns[rand][2]);
SetPlayerFacingAngle(playerid, gPresoPmSpawns[rand][3]);
SendClientMessage(playerid, COLOR_LIGHTBLUE, "Sentenзa incompleta,Vocк voltou para Prisгo");
PlayerInfo[playerid][pJailed] = 1;
return 1;
}