Posts: 1,418
Threads: 63
Joined: Dec 2010
Reputation:
0
What are the c++ functions i can use
Posts: 1,418
Threads: 63
Joined: Dec 2010
Reputation:
0
I tried, but I didn't find nothing.... I typed "How to make a sa-mp plugin"
Posts: 2,929
Threads: 160
Joined: Feb 2009
Reputation:
0
I have no idea why you get the error, but you shouldn't get it if you have done everything correctly. Just begin a new project and try again, should work!
Posts: 28
Threads: 5
Joined: Jul 2010
Reputation:
0
19.05.2011, 14:33
(
Last edited by me-borno; 26/05/2011 at 01:40 PM.
)
Hello,
im back with a new question :S
but, when i use floats in pawno, it becomes a different value in C++..
like -2000 becomes about 300 billion.. i already used float() int() etc. but nothing helps..
how to uses floats in c++
Ty in advance!
Solved, use amx_ctof or amx_ftoc
Posts: 586
Threads: 16
Joined: Mar 2008
Reputation:
0
This tutorial is good, but the sdk seems to be a bit goofy, since the compiler complains about not finding amxplugin.h even after i choose to include all files. Tried with MS Visual C++ 2008
There's no amxplugin.h in it, did you mean amx.h?
Posts: 586
Threads: 16
Joined: Mar 2008
Reputation:
0
No, my compiler asks for "amxplugin.h"
Will try to get around it by checking project settings and such
Posts: 228
Threads: 27
Joined: Nov 2008
Reputation:
0
1. I can't seem to get logprintf to work with a string for example
logprintf("%s",params[1]);
2. How do I make it say something when my plugin is loaded.