-
Notifications
You must be signed in to change notification settings - Fork 34
/
Copy pathREADME
38 lines (23 loc) · 1.23 KB
/
README
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
SA:MP Gamemode Development Kit for C++
======================================
What's this?
-------------------
The SA:MP GDK allows you to easily create SA:MP gamemodes in C++ loading them as server plugins.
GDK is basically a wrapper around SA:MP native scripting functions and callbacks.
Getting started
-------------------
### Download the source ###
You have two options:
1) Download the source archive from https://github.com/Zeex/sampgdk/downloads
2) Clone the repository with Git: `git clone git://github.com/Zeex/sampgdk.git`
### Add to your project ###
There are ready-to-use project files for some popular IDE's, you can find them in `build/<os-name>/<tool-name>`.
Generally it is recommended that you use these to build GDK (as a static library) and link against it.
For example, if you're using Visual Studio 2010, just add `build/windows/vs2010/sampgdk.vcxproj`
to your Solution (the .sln) and set up include/library paths via Project Properties dialog.
### Write some code ###
If you are new to GDK you look at the code of helloworld example in `examples/helloworld/` first,
it will teach you some basics.
Bugs
-------------------
Bugs/suggestions can be viewed/reported here: https://github.com/Zeex/sampgdk/issues.