CyberMor / sampvoice

Software Development Kit for implementing Pawn voice systems for SA:MP servers.
MIT License
128 stars 69 forks source link

Changing the SAMP Version on Compile #142

Open gitlinedev opened 7 months ago

gitlinedev commented 7 months ago

I have a question while compiling the solution, I need to build a DLL sampvoice for SAMP_3 but I don't fully understand how to do it, the version is written you can set it using movers, it turns out that I have to have a version in each file or in some one file I need to change it and build the solution?

CyberMor commented 6 months ago

Hello. To build a project for R3, you need to go to the properties of the “client” subproject (right-click -> properties), then “C/C++” -> “Preprocessor” -> “Preprocessor Definitions” and insert “SAMP_R3;" (be sure not to forget the separator ";").