blob: 8caa2a82123f7b61ea01e2a98c91904cd92067ee (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
#if SERVER
global const REVIVE_ENABLED = true // currently not used anywhere
global function ReviveEnabled
bool function ReviveEnabled()
{
return GetCurrentPlaylistVarInt( "player_revive_enabled", 0 ) == 1
}
#elseif true
global const REVIVE_ENABLED = false // currently not used anywhere
global function ReviveEnabled
bool function ReviveEnabled()
{
// client version of this doesn't work lol
return false
//return GetCurrentPlaylistVarInt( "player_revive_enabled", 0 ) == 1
}
#endif
|