18.07.2012, 17:18
(
Последний раз редактировалось iggy1; 18.07.2012 в 17:27.
Причина: made it easier to follow.
)
- If your using visual studio, when you open your project press ALT + F7.
- You will see a dialog with a list.
- In the list click on c/c++ to drop down a menu.
- Click on general.
- On the right hand side you should see Additional Include Directories.
- Click that and a drop box will appear, click on edit
- A new dialog will appear.
- Now on the new dialog add a path and navigate to .../sampgdk3.0.2/includes/ (click includes thats the path you need)
- Apply the new settings.
Код:
#include <sampgdk/a_samp.h> #include <sampgdk/a_players.h>