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
|
tutorial though, goes in-depth of the SDK. https://sampforum.blast.hk/showthread.php?tid=295798
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
}
. I think you should make a tutorial how to use sampGDK.
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 }
};