I have a problem with creating my c# scripts, VS can’t bulid my project. I thik it’s a problem with redm library and now i don’t know how to deal with this problem, any ideas?
Server Artifact Version: 1787, but i tried with other artifacts, not only with redm, but with fivem.
1>------ Build started: Project: Client, Configuration: Debug Any CPU ------ 1>C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\MSBuild\Current\Bin\Microsoft.Common.CurrentVersion.targets(2081,5): warning MSB3270: There was a mismatch between the processor architecture of the project being built "MSIL" and the processor architecture of the reference "CitizenFX.Core", "AMD64". This mismatch may cause runtime failures. Please consider changing the targeted processor architecture of your project through the Configuration Manager so as to align the processor architectures between your project and references, or take a dependency on references with a processor architecture that matches the targeted processor architecture of your project. 1>C:\Users\mati2\source\repos\RDR1Script\Client\Main.cs(20,35,20,46): error CS0117: 'API' does not contain a definition for 'PlayerPedId' ========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========