Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- static void MountAdditionalContent()
- {
- if (smod_mount_hl1mp.GetBool())
- {
- if (filesystem->MountSteamContent(360) != FILESYSTEM_MOUNT_OK)
- Warning("Unable to mount Half-Life Deathmatch: Source\n");
- }
- if (smod_mount_hl1.GetBool())
- {
- if (filesystem->MountSteamContent(280) != FILESYSTEM_MOUNT_OK)
- Warning("Unable to mount Half-Life: Source\n");
- }
- if (smod_mount_dod.GetBool())
- {
- if (filesystem->MountSteamContent(300) != FILESYSTEM_MOUNT_OK)
- Warning("Unable to mount Day of Defeat: Source\n");
- }
- if (smod_mount_cstrike.GetBool())
- {
- if (filesystem->MountSteamContent(240) != FILESYSTEM_MOUNT_OK)
- Warning("Unable to mount Counter-Strike: Source\n");
- }
- if (smod_mount_portal.GetBool())
- {
- if (filesystem->MountSteamContent(400) != FILESYSTEM_MOUNT_OK)
- Warning("Unable to mount Portal\n");
- }
- if (smod_mount_lostcoast.GetBool())
- {
- if (filesystem->MountSteamContent(340) != FILESYSTEM_MOUNT_OK)
- Warning("Unable to mount Counter-Strike: Source\n");
- }
- if (smod_mount_hl2mp.GetBool())
- {
- if (filesystem->MountSteamContent(320) != FILESYSTEM_MOUNT_OK)
- Warning("Unable to mount Half-Life 2: Deathmatch\n");
- }
- if (smod_mount_episodic.GetBool())
- {
- if (filesystem->MountSteamContent(380) != FILESYSTEM_MOUNT_OK)
- Warning("Unable to mount Half-Life 2: Episode 1\n");
- }
- if (smod_mount_ep2.GetBool())
- {
- if (filesystem->MountSteamContent(420) != FILESYSTEM_MOUNT_OK)
- Warning("Unable to mount Half-Life 2: Episode 2\n");
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement