OnSleepingBagValidCheck
Usage​
- Called when determining if a sleeping bag is a valid respawn location for a player
- Useful in conjunction with OnRespawnInformationGiven since a custom sleeping bag will need to pass this check
- Return true or false to override default behavior
Examples​
""
bool? OnSleepingBagValidCheck(SleepingBag sleepingBag, ulong targetPlayerId, bool ignoreTimers)
{
Puts("OnSleepingBagValidCheck works!");
return null;
}