Advertisement
Guest User

Untitled

a guest
Nov 25th, 2015
77
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
SQF 1.32 KB | None | 0 0
  1. /*-----------------------------------------------------
  2. File Name:
  3. fn_pancakes.sqf
  4.  
  5. By Pancake
  6.  
  7. Description:
  8. It's freaking super pancakes which are pretty dank and make you regen, and other shit too!
  9. ------------------------------------------------------*/
  10. private ["_newDamage"];
  11.  
  12. _newDamage = 0;
  13.  
  14. hint("yum Fakin Pancakes are dank af, i will now regen for 15 mins, how dank");
  15.  
  16. //Wait 5 seconds before we start giving them health
  17. uiSleep 5;
  18.  
  19. //While player is alive and not at full health, give them health
  20. while {((alive player) && ((damage player) > 0))} do
  21. {
  22.     _newDamage = ((damage player) - 0.05);
  23.     player setdamage _newDamage;
  24.     hintSilent(format["Current Damage %1",_newdamage]);
  25.     uiSleep 5;
  26. };
  27.  
  28. //Now that player is back to full health, make sure they did not die though
  29. if (!(alive player)) exitWith { diag_log("Player died during pancakes shit"); };
  30.  
  31. //Do some hud shit idk
  32. uiSleep 5;
  33. [] call life_fnc_hudUpdate;
  34. uiSleep 5;
  35.  
  36. [] spawn life_fnc_weed;
  37.  
  38. uiSleep 5;
  39.  
  40. //Do some weed shit idk
  41. hint("What did he put in those pancakes.. whatever it was, it was dank af");
  42.  
  43.  
  44.  
  45. //Wait 5 secs then do some other shit idk
  46. uiSleep 5;
  47.  
  48. hint("I dont feel so good");
  49.  
  50. player setFatigue 1;
  51.  
  52. uiSleep 5;
  53.  
  54. player setFatigue 0;
  55.  
  56. hint("what the fuck is happening????");
  57.  
  58. uiSleep 5;
  59.  
  60. player setDamage 0;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement