How to setting up sampgdk ? - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (
https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (
https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: How to setting up sampgdk ? (
/showthread.php?tid=573958)
How to setting up sampgdk ? -
RaeF - 12.05.2015
How to setting up sampgdk to create gamemode? im new in C++ i want to learn but i got problem with setting it up.
Where can i put include file and lib file @_@
( Im using Visual Studio )
Re: How to setting up sampgdk ? -
Smileys - 12.05.2015
ehmm you can make plugins for SA-MP,
here's a tutorial.
other than that I don't really know what you mean.
Re: How to setting up sampgdk ? -
Yashas - 12.05.2015
First you need SAMP SDK which you can download from
here
https://github.com/Zeex/sampgdk/releases - Get the latest sampgdk
You can either download the amalgamated version where all the code is put in one file or the win32/linux version where all headers are not combined.
After download include "sampgdk.h" if you have the amalgamated version or include the files which you would need individually if you have non-amalgamated version.
Add the sampgdk library to your linker and also tell your compiler where sampgdk files are or you will get an error telling includes not found because sampgdk uses <> instead of "" for reasons which I don't know.
Ah... I can't tell everything....check this
tutorial & the implementers guide
Re: How to setting up sampgdk ? -
RaeF - 12.05.2015
Ok, thanks for y'all for all answers!