20.07.2014, 17:28
Hello all. Sorry for my bad english. But i'll try to speak it. 
After several failed attempts to add a callback (OnPlayerConnect) in a project using sampgdk (for writing a plugin), I decided to ask a question in this forum.
How to add OnPlayerConnect in the project?
In main.cpp added:
And export.def:
The problem is that these functions do not work when you connect the player to the console writes nothing

After several failed attempts to add a callback (OnPlayerConnect) in a project using sampgdk (for writing a plugin), I decided to ask a question in this forum.
How to add OnPlayerConnect in the project?
In main.cpp added:
PHP код:
PLUGIN_EXPORT bool PLUGIN_CALL OnPlayerConnect (int playerid)
{
logprintf ("* Player connected!");
return 1;
}
PHP код:
OnPlayerConnect
