Zeex / sampgdk

Write SA-MP gamemodes in C/C++
http://zeex.github.io/sampgdk
Apache License 2.0
156 stars 83 forks source link

[C2733] - second C linkage of overloaded function 'function' not allowed #182

Closed buridan1999 closed 7 years ago

buridan1999 commented 7 years ago

I chek the all project, and I can't find mistake. If I delete this code, it will be work fine. Where can be a trouble?

PLUGIN_EXPORT bool PLUGIN_CALL OnPlayerDisconnect(int playerid) { return false; }

buridan1999 commented 7 years ago

I'm idiot, -> OnPlayerDisconnect(int playerid, int reason)