SA-MP Forums Archive
[Help]What A bug Script - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+---- Forum: Help Archive (https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: [Help]What A bug Script (/showthread.php?tid=107589)



[Help]What A bug Script - maximus_corleone - 10.11.2009

Script LA-RP in the hospital, it Bugs Or Not. I not Exit Hospital

Picture Sorry I Use ****** Translate Thai - English

[img width=960 height=768]http://image.ohozaa.com/id/samp001.png[/img]

Help Me Please


Re: [Help]What A bug Script - dice7 - 10.11.2009

It says that you need to rest. Just wait


Re: [Help]What A bug Script - maximus_corleone - 10.11.2009

I wait 4-5 minute but Same.


Re: [Help]What A bug Script - maximus_corleone - 16.11.2009

I use Scirpt LA-RP 2.6 stable


Re: [Help]What A bug Script - Daniel_Truk - 16.11.2009

Search for this:

pawn Код:
new cut = deathcost; //PlayerInfo[playerid][pLevel]*deathcost;
                    //SafeGivePlayerMoney(i, -cut);
                    format(string, sizeof(string), "Doctor: Your Medical Bill comes to $%d, Have a nice day.", cut);
                    SendClientMessage(i, TEAM_CYAN_COLOR, string);
                    TogglePlayerControllable(i, 1);
                MedicBill[i] = 0;
                MedicTime[i] = 0;
                NeedMedicTime[i] = 0;
                PlayerInfo[i][pDeaths] += 1;
                PlayerFixRadio(i);
                ClearAnimations(i);
                SpawnPlayer(i);

Add under it:

pawn Код:
SetPlayerSpawn(i);
                    SetCameraBehindPlayer(i);
The full code:

pawn Код:
new cut = deathcost; //PlayerInfo[playerid][pLevel]*deathcost;
                    //SafeGivePlayerMoney(i, -cut);
                    format(string, sizeof(string), "Doctor: Your Medical Bill comes to $%d, Have a nice day.", cut);
                    SendClientMessage(i, TEAM_CYAN_COLOR, string);
                    TogglePlayerControllable(i, 1);
                MedicBill[i] = 0;
                MedicTime[i] = 0;
                NeedMedicTime[i] = 0;
                PlayerInfo[i][pDeaths] += 1;
                PlayerFixRadio(i);
                ClearAnimations(i);
                SetPlayerSpawn(i);
                    SetCameraBehindPlayer(i);

/cake


Re: [Help]What A bug Script - maximus_corleone - 16.11.2009

Thanks Cake


Re: [Help]What A bug Script - maximus_corleone - 16.11.2009

I change outside hospital Or not