C++ Plugin Error - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (
https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (
https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: C++ Plugin Error (
/showthread.php?tid=622464)
C++ Plugin Error -
Yaa - 22.11.2016
PHP код:
Severity Code Description Project File Line
Error (active) a value of type "cell (*)(AMX *amx, cell *Lemail, cell *Lpassword, cell *LSender, cell *Lparams)" cannot be used to initialize an entity of type "AMX_NATIVE" Win32Project1 c:\Users\Yassine\Documents\Visual Studio 2015\Projects\Win32Project1\Win32Project1\Source.cpp 90
Some ideas ?
following this script
https://sampforum.blast.hk/showthread.php?tid=253436
The code
PHP код:
AMX_NATIVE_INFO projectNatives[] =
{
{ "SendEmail", SendEmail }
};
Re: C++ Plugin Error -
Yaa - 22.11.2016
There any idea how to convert this to C++ ??
Quote:
new str[100];
format(str, sizeof(str), "%s", Sender");
|
??
Re: C++ Plugin Error -
Yaa - 22.11.2016
FIXED !
Re: C++ Plugin Error -
J0sh... - 22.11.2016
Did you really need to post 3 fucking posts in a row?
rules... pls...