Advertisement
Guest User

Untitled

a guest
Aug 30th, 2017
129
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.63 KB | None | 0 0
  1. static void MountAdditionalContent()
  2. {
  3.  
  4. if (smod_mount_hl1mp.GetBool())
  5. {
  6. if (filesystem->MountSteamContent(360) != FILESYSTEM_MOUNT_OK)
  7. Warning("Unable to mount Half-Life Deathmatch: Source\n");
  8. }
  9.  
  10. if (smod_mount_hl1.GetBool())
  11. {
  12. if (filesystem->MountSteamContent(280) != FILESYSTEM_MOUNT_OK)
  13. Warning("Unable to mount Half-Life: Source\n");
  14. }
  15.  
  16. if (smod_mount_dod.GetBool())
  17. {
  18. if (filesystem->MountSteamContent(300) != FILESYSTEM_MOUNT_OK)
  19. Warning("Unable to mount Day of Defeat: Source\n");
  20. }
  21.  
  22. if (smod_mount_cstrike.GetBool())
  23. {
  24. if (filesystem->MountSteamContent(240) != FILESYSTEM_MOUNT_OK)
  25. Warning("Unable to mount Counter-Strike: Source\n");
  26. }
  27.  
  28. if (smod_mount_portal.GetBool())
  29. {
  30. if (filesystem->MountSteamContent(400) != FILESYSTEM_MOUNT_OK)
  31. Warning("Unable to mount Portal\n");
  32. }
  33.  
  34. if (smod_mount_lostcoast.GetBool())
  35. {
  36. if (filesystem->MountSteamContent(340) != FILESYSTEM_MOUNT_OK)
  37. Warning("Unable to mount Counter-Strike: Source\n");
  38. }
  39.  
  40. if (smod_mount_hl2mp.GetBool())
  41. {
  42. if (filesystem->MountSteamContent(320) != FILESYSTEM_MOUNT_OK)
  43. Warning("Unable to mount Half-Life 2: Deathmatch\n");
  44. }
  45.  
  46. if (smod_mount_episodic.GetBool())
  47. {
  48. if (filesystem->MountSteamContent(380) != FILESYSTEM_MOUNT_OK)
  49. Warning("Unable to mount Half-Life 2: Episode 1\n");
  50. }
  51.  
  52. if (smod_mount_ep2.GetBool())
  53. {
  54. if (filesystem->MountSteamContent(420) != FILESYSTEM_MOUNT_OK)
  55. Warning("Unable to mount Half-Life 2: Episode 2\n");
  56. }
  57. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement