Dayo Posted October 26, 2019 Share Posted October 26, 2019 (edited) I have made a simple hospital mod where users can recover after being shot. Screenshots Download http://glscript.cdcoding.com/market.php?action=view&view=6 Edited October 26, 2019 by Dayo Quote Link to comment Share on other sites More sharing options...
hostiko Posted February 16, 2020 Share Posted February 16, 2020 WHERE IS IT 😮 Quote Link to comment Share on other sites More sharing options...
Magictallguy Posted February 16, 2020 Share Posted February 16, 2020 23 minutes ago, hostiko said: WHERE IS IT 😮 Here Quote Link to comment Share on other sites More sharing options...
Canjucks Posted May 24, 2020 Share Posted May 24, 2020 (edited) just a noob, how do I add someone to hospital once health hits 0 and they need to spend x amount of time in hosp - found that one I think! Edited May 24, 2020 by padre Quote Link to comment Share on other sites More sharing options...
albhu Posted July 18, 2020 Share Posted July 18, 2020 On 10/26/2019 at 10:45 PM, Dayo said: I have made a simple hospital mod where users can recover after being shot. Screenshots Download http://glscript.cdcoding.com/market.php?action=view&view=6 Sorry , i guess the download link is broken... 😞 Quote Link to comment Share on other sites More sharing options...
Glock1533 Posted July 20, 2020 Share Posted July 20, 2020 hospital.zip Here it is ^^ Quote Link to comment Share on other sites More sharing options...
Dayo Posted July 20, 2020 Author Share Posted July 20, 2020 (edited) sorry the files were moved to this site a while back you can find it here Edited July 20, 2020 by Dayo 1 Quote Link to comment Share on other sites More sharing options...
Sim Posted July 20, 2020 Share Posted July 20, 2020 Can you explain how the health system in GL works. Everyone's HP is at 0? Is it based on % done to player or what? Quote Link to comment Share on other sites More sharing options...
InverTed Posted July 20, 2020 Share Posted July 20, 2020 Last i checked, most battle systems that have a hospital system with it will only put a player in the hospital if they hit 0. But most attack systems are a one click automation which means it'll go til someone has zero health. But there are the rare cases where its attack by attack, meaning you have to click to do damage and thus once you've made a player or you yourself hits 0, you'll go to the hospital. Quote Link to comment Share on other sites More sharing options...
Sim Posted July 20, 2020 Share Posted July 20, 2020 GL battle system is really different. The only time the person gets attacked is when they get shot. Every player starts at 0. This is why I asked. Quote Link to comment Share on other sites More sharing options...
InverTed Posted July 20, 2020 Share Posted July 20, 2020 Ah right then. Well then if that's the case, then I assume it's meant to just put users in the hospital the second they get shot... This is assuming there aren't any ways of the shot being missed the first time and the person shooting is the one who gets shot. @Dayo We need your expertise 😂 Quote Link to comment Share on other sites More sharing options...
albhu Posted July 20, 2020 Share Posted July 20, 2020 10 hours ago, Dayo said: sorry the files were moved to this site a while back you can find it here thank you Quote Link to comment Share on other sites More sharing options...
Canjucks Posted January 7, 2021 Share Posted January 7, 2021 Just a FYI to help anyone else who has this error like I did simply remove on line 67 - debug($info); Quote Link to comment Share on other sites More sharing options...
Fabionuno Posted March 6, 2021 Share Posted March 6, 2021 the hospital is not really working for me can someone explainw ha tit does exactly so i can maybe fix? Quote Link to comment Share on other sites More sharing options...
Canjucks Posted March 6, 2021 Share Posted March 6, 2021 2 hours ago, Fabionuno said: the hospital is not really working for me can someone explainw ha tit does exactly so i can maybe fix? What's it not doing? error code? Quote Link to comment Share on other sites More sharing options...
Fabionuno Posted March 6, 2021 Share Posted March 6, 2021 Tbh the whole attacking system is fcked i jsut fixed kill module but hospitla.module is not making players go to hospital im not sure hoe to connect it? Also health bar form mccodes doesnt drop.down when ehalth is low so not sure if its that Quote Link to comment Share on other sites More sharing options...
Canjucks Posted March 6, 2021 Share Posted March 6, 2021 I had similar issues where I made some edits to fix it so when health is below 100 you go to hospital. Its the whole thing of when you get attacked your health goes to some stupid number. Then you got to sort the go to hospital if below 100 after an attack. The percentage showing up correctly is another issue. From memory after fixing the health to be between 0-100 i was able to get the percentage show correctly. Quote Link to comment Share on other sites More sharing options...
Fabionuno Posted March 6, 2021 Share Posted March 6, 2021 tbh there was no db file ont he hospital zip so im struggling a bit with that not to talk that the mccodes theme the health bar does not change accoridng to the user health which is weird tbh im not sure the health decrease is even being saved everything is being based on total amount of health for rank but nothing on the current health idk i feel that all ym files and db is messed up ive been fiixing slowly but dang a lot fo wasted time when could be fixed easily on installation Quote Link to comment Share on other sites More sharing options...
Dayo Posted March 8, 2021 Author Share Posted March 8, 2021 On 3/6/2021 at 7:57 PM, Fabionuno said: tbh there was no db file ont he hospital zip so im struggling a bit with that not to talk that the mccodes theme the health bar does not change accoridng to the user health which is weird tbh im not sure the health decrease is even being saved everything is being based on total amount of health for rank but nothing on the current health idk i feel that all ym files and db is messed up ive been fiixing slowly but dang a lot fo wasted time when could be fixed easily on installation To send a user to hospital you need to update the hospital timer, look at the hospital mod and look for updateTimer(“hospital” Quote Link to comment Share on other sites More sharing options...
Fabionuno Posted March 9, 2021 Share Posted March 9, 2021 the thing si usertimers is not adding any hostpital timer tbh i dont think its adding anyhting is utid suppose ot be sue rid? cause it only goes form 1 to 3 but yeah theres no hospital there and im not sur ehow that is isnerted caus ei tried ot add a function to add the utid utdesc and uttime when the user is killed but also it did not insert anythign there so im totally clueless Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.