How am I supposed to use SAMP-API?

Loku

Известный
Автор темы
24
0

I compiled it and got a .lib but I guess I shouldn't use it that way? I just included all files from sampapi to my own project and didn't manage to use it, so I just included the project to my solution and referenced my project to sampap and I guess I'm somehow there, but I'm trying to access classes like CChat, CPed or any but I'm not sure how
I'm trying to access it in this way (I included #include "sampapi\sampapi.h"):
BWCNtGO.png

How do I access, CPed for example from here?
A. How I included the project:
pvAkgAl.png


hptPeRw.png
 

imring

Ride the Lightning
Всефорумный модератор
2,355
2,516
  • Нравится
Реакции: sᴀxᴏɴ и Loku