LARP HOSPITAL BUG FIX FOR 0.3
#1

THIS IS THE SCRIPT FOR SBUGED HOSPITAL BUG:

-I ADD A NEW LITTLE SCRIPT
-2 random spawn at hospitals of Los Santos

Screens:

[img width=960 height=768]http://i47.tinypic.com/11v1vn4.jpg[/img]
[img width=960 height=768]http://i49.tinypic.com/s63u6s.jpg[/img]
[img width=960 height=768]http://i45.tinypic.com/f3tmq0.jpg[/img]
[img width=960 height=768]http://i45.tinypic.com/11hs7b8.jpg[/img]
[img width=960 height=768]http://i48.tinypic.com/2w36cs1.jpg[/img]
[img width=960 height=768]http://i49.tinypic.com/ziuihx.jpg[/img]
[img width=960 height=768]http://i46.tinypic.com/t5lttz.jpg[/img]


pawn Код:
forward ReleaseFromHospital(playerid);
pawn Код:
if(MedicBill[playerid] == 1 && PlayerInfo[playerid][pJailed] == 0 && PlayerPaintballing[playerid] == 0)
        {
          if(FirstSpawn[playerid] != 1)
          {
                PlayerInfo[playerid][pDeaths] += 1;
                SetPlayerHealth(playerid, 50.0);
            SetPlayerInterior(playerid, 3);
            PlayerInfo[playerid][pInt] = 3;
            rand = random(sizeof(gMedicSpawns));
                SetPlayerPos(playerid, gMedicSpawns[rand][0], gMedicSpawns[rand][1], gMedicSpawns[rand][2]); // Warp the player
                SetPlayerFacingAngle(playerid, 0);
            TogglePlayerControllable(playerid, 0);
            GameTextForPlayer(playerid, "~n~~n~~n~~n~~n~~n~~n~~n~~n~~w~You need to rest now ...", 5000, 3);
            ApplyAnimation(playerid, "CRACK", "crckdeth2", 4.0, 1, 0, 0, 0, 0);
            SetTimerEx("ReleaseFromHospital", 8000, 0, "d", playerid);
            PlayerPlaySound(playerid, 1062, 0.0, 0.0, 0.0);
            return 1;
            }
        }

pawn Код:
public ReleaseFromHospital(playerid)
{
    SendClientMessage(playerid, COLOR_RED, "You have been released from Hospital.");
    TogglePlayerControllable(playerid, 1);
    SetCameraBehindPlayer(playerid);
    SetPlayerHealth(playerid, 50.0);
    new decidehosp = random(2);
    switch(decidehosp)
    {
        case 0:
        {
        SetPlayerPos(playerid, 1177.4866,-1323.9749,14.0731);
        SetPlayerFacingAngle(playerid, 270.0);
        SetPlayerInterior(playerid, 0);
        ResetPlayerWeapons(playerid);
        }
        case 1:
        {
        SetPlayerPos(playerid, 2025.1497,-1402.8643,17.2089);
        SetPlayerFacingAngle(playerid, 270.0);
        SetPlayerInterior(playerid, 0);
        ResetPlayerWeapons(playerid);
        }
    }
    return 1;
}


All Script by Brian
Reply
#2

Next time use 'Search' this same thing has been answered Several times, this is pointless, its already in the LARP topic..
Reply
#3

A person does not in 40 pages the fix bug. this is a little help
Reply
#4

Quote:
Originally Posted by Brian_Furios
A person does not in 40 pages the fix bug. this is a little help
Your topic will also end on the 40th page, so it's the same.
Reply
#5

Quote:
Originally Posted by Don Correlli
Quote:
Originally Posted by Brian_Furios
A person does not in 40 pages the fix bug. this is a little help
Your topic will also end on the 40th page, so it's the same.
yes but here i release the script
Reply
#6

Quote:
Originally Posted by Brian_Furios
yes but here i release the script
Indeed, but like Done!2010 already told you: this was already fixed before you.
Reply
#7

Quote:
Originally Posted by Don Correlli
Quote:
Originally Posted by Brian_Furios
yes but here i release the script
Indeed, but like Done!2010 already told you: this was already fixed before you.
link with fix bug please?
Reply
#8

http://forum.sa-mp.com/index.php?topic=122841.0

You can read in that topic that this bug is fixed in the current version.
Reply
#9

Quote:
Originally Posted by Don Correlli
http://forum.sa-mp.com/index.php?topic=122841.0

You can read in that topic that this bug is fixed in the current version.
ok
Reply
#10

Quote:
Originally Posted by » ραωпsтαг «
Fixed in 2.6
no not work in 2.6 a test it but no work.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)