26.12.2011, 09:10
pawn Код:
if(NoHospital[i])
{
NoHospital[i]--;
if(!NoHospital[i])
{
new rand;
rand = random(sizeof(HospSpawns));
SafeSetPlayerPos(i, HospSpawns[rand][0], HospSpawns[rand][1], HospSpawns[rand][2]);
TogglePlayerControllable(i, true);
SetCameraBehindPlayer(i);
SetPlayerHealth(i, 50.0);
SendClientMessage(i, 0xFF9680FF, "[HOSPITAL] Vocк estб recuperado. Tome mais cuidado!");
ClearAnimations(i);
DeletePVar(i, "Hospital");
}
}