How to setting up sampgdk ?
#1

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 )
Reply
#2

ehmm you can make plugins for SA-MP, here's a tutorial.

other than that I don't really know what you mean.
Reply
#3

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
Reply
#4

Ok, thanks for y'all for all answers!
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)