GDK pozwoli Ci na łatwe tworzenie skryptów SA-MP w języku C lub C++ i załadowanie ich jako pluginy serwerowe.
Instalacja
--
* Windows
1. Pobierz i zainstaluj `libsampgdk-x.y.z-win32.exe`.
2. Nie zapomnij zaznaczyć opcji *Add sampgdk to the system PATH* - w innym wypadku potrzebne będzie
skopiowanie plików .dll ręcznie do swojego katalogu, lub zmienić Zmienną środowiskową.
3. Ustaw odpowiednią ścieżkę dla bibliotek w swoim IDE.
* Linux
1. Pobierz `libsampgdk-x.y.z-Linux.sh`.
2. Uruchom plik bash za pomocą tej komendy: `sudo sh sampgdk-x.y.z-Linux.sh --prefix=/usr/local/`. Zainstaluje ona
biblioteki i nagłówki do folderu /usr/local/lib oraz /usr/local/include.
3. Ustaw poprawne linkowanie podczas kompilacji, dodajć lsampgdk. Przykładowo: `g++ -shared plugin.cpp -lsampgdk -o plugin.so`.
Błędy
--
Raportowanie błędów jest możliwe pod tym linkiem:
https://github.com/Zeex/sampgdk/issues
SA-MP Gamemode Development Kit PL
SA-MP GDK by Zeex (Polonizacja stworzona przez VXZ)
Brought to you by:
vxz
Downloads:
0 This Week