04.10.2011, 21:37
Ok thanks again. I'll try it out.
Do you mind when you have the spare time to simply upload a blank plugin? just including the source so we don't have to redo the steps a thousand times (one with the sampgdk if you can)
|
Where should I place these .cpp and .h files? I'm really new to this and would like to know it step by step :P
|
error C2065: 'YourNativeNameHere' : undeclared identifier
static cell AMX_NATIVE_CALL YourNativeNameHere(AMX *amx, cell *params) { logprintf("I haz made my first plugin!! :)"); // Your codes go in here return 1; // Change the return value if need }
1>c:\documents and settings\omnia\my documents\visual studio 2008\projects\samp_plugin\samp_plugin\samp_plugin.cpp(32) : error C2065: 'YourNativeNameHere' : undeclared identifier
pawn Code:
|
AMX_NATIVE_INFO projectNatives[] = { { "YourNativeNameHere" , YourNativeNameHere }, { 0, 0 } };