28.12.2014, 22:25
tipo assim?
PHP Code:
//Quando o player sai do hospital
if(GetPlayerWantedLevel!=0)
{
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 1;
}