sheenthebest / fivem_cinema

16 stars 13 forks source link

Build Errors #1

Closed Local9 closed 4 years ago

Local9 commented 5 years ago

I know this error is pretty much telling me what is wrong but in VS2017 I cannot compile the Client project. I'd happily help to move this forwards if you can supply some additional information.

Error   CS1503  Argument 1: cannot convert from 'long' to 'CitizenFX.Core.Native.Hash'  FiveM_Client    E:\workspace\fivem\fivem_cinema\FiveM_Client\NativeUI\Sprite.cs 52  Active
Error   CS1503  Argument 1: cannot convert from 'long' to 'CitizenFX.Core.Native.Hash'  FiveM_Client    E:\workspace\fivem\fivem_cinema\FiveM_Client\NativeUI\Sprite.cs 57  Active
Error   CS1503  Argument 1: cannot convert from 'long' to 'CitizenFX.Core.Native.Hash'  FiveM_Client    E:\workspace\fivem\fivem_cinema\FiveM_Client\NativeUI\Sprite.cs 71  Active
Error   CS1503  Argument 1: cannot convert from 'long' to 'CitizenFX.Core.Native.Hash'  FiveM_Client    E:\workspace\fivem\fivem_cinema\FiveM_Client\NativeUI\Sprite.cs 90  Active
Error   CS1503  Argument 1: cannot convert from 'long' to 'CitizenFX.Core.Native.Hash'  FiveM_Client    E:\workspace\fivem\fivem_cinema\FiveM_Client\NativeUI\Sprite.cs 95  Active
Error   CS1503  Argument 1: cannot convert from 'long' to 'CitizenFX.Core.Native.Hash'  FiveM_Client    E:\workspace\fivem\fivem_cinema\FiveM_Client\NativeUI\Sprite.cs 109 Active
Error   CS1503  Argument 1: cannot convert from 'ulong' to 'CitizenFX.Core.Native.Hash' FiveM_Client    E:\workspace\fivem\fivem_cinema\FiveM_Client\FiveM_Plugin\FXClient.cs   141 Active
Error   CS1503  Argument 1: cannot convert from 'ulong' to 'CitizenFX.Core.Native.Hash' FiveM_Client    E:\workspace\fivem\fivem_cinema\FiveM_Client\FiveM_Plugin\VideoPlayer.cs    42  Active
Error   CS0221  Constant value '-1321908437' cannot be converted to a 'ulong' (use 'unchecked' syntax to override)  FiveM_Client    E:\workspace\fivem\fivem_cinema\FiveM_Client\FiveM_Plugin\VideoPlayer.cs    42  Active
Error   CS0221  Constant value '-855388759' cannot be converted to a 'ulong' (use 'unchecked' syntax to override)   FiveM_Client    E:\workspace\fivem\fivem_cinema\FiveM_Client\FiveM_Plugin\FXClient.cs   141 Active
Local9 commented 5 years ago

I've managed to clear these build errors but these are many more pieces of information that is missing.

I'll be moving onwards with 'video_dui' for now.

lazosman commented 5 years ago

did u managed to build it? Thanks!

Local9 commented 5 years ago

I dropped this and moved onto another one, I have been using https://forum.fivem.net/t/release-generic-dui-2d-3d-renderer/131208

Rusnacull commented 5 years ago

Function.Call((ulong)-855388759, new InputArgument[] the ulog error...

sheenthebest commented 4 years ago

This script need some fixes... its already outdated.. I post it only for developers.