Jump to content

Error while compiling

Pending 0.0.2

VeneraStroy
VeneraStroy

Posted

Error while compiling SkipDeathScreen: Cannot implicitly convert type 'PooledList<SleepingBag>' to 'SleepingBag[]' | Line: 16, Pos: 39

Stigiec

Posted

update yr code, replace lines 16-17

SleepingBag[] array = SleepingBag.FindForPlayer(player.userID, true).ToArray();
SleepingBag sleepingBag = array.FirstOrDefault(
    x => x.deployerUserID == player.userID && x.unlockTime < UnityEngine.Time.realtimeSinceStartup
);

 

About Us

Codefling is the largest marketplace for plugins, maps, tools, and more, making it easy for customers to discover new content and for creators to monetize their work.

Downloads
2.5m
Total downloads
Customers
11.2k
Customers served
Files Sold
160.7k
Total sales
Payments
3.5m
Processed total
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.