Advertisement
Guest User

Untitled

a guest
Sep 20th, 2019
90
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.59 KB | None | 0 0
  1. BuildPath(Path_SM, sFilePath, sizeof(sFilePath), "configs/AdvancedParachute.cfg");
  2. BuildPath(Path_SM, sDownloadFilePath, sizeof(sDownloadFilePath), "configs/AdvancedParachuteDownload.txt");
  3. arParachuteList = new ArrayList(256);
  4. smParachutes = new StringMap();
  5.  
  6. HookEvent("player_death", Event_OnPlayerDeath);
  7.  
  8. g_iVelocity = FindSendPropInfo("CBasePlayer", "m_vecVelocity[0]");
  9. if (g_iVelocity == -1)
  10. {
  11. SetFailState("%s Can not find m_vecVelocity[0] offset", TAG);
  12. }
  13.  
  14. g_hParachute = RegClientCookie("advanced_parachute_test", "Parachute clientprefs", CookieAccess_Private);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement