25.12.2011, 16:47
Can someone help me figuring out this error?
Error Code:
Error Lines:
Error Code:
pawn Код:
Warning 1 warning C4996: 'sprintf': This function or variable may be unsafe. Consider using sprintf_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details. c:\Documents and Settings\TopAz\My Documents\Visual Studio 2010\Projects\myfirstplugin\myfirstplugin\myfirstplugin.cpp 65 1 myfirstplugin
Error 2 error C2664: 'GetPlayerPos' : cannot convert parameter 2 from 'float' to 'float *' c:\Documents and Settings\TopAz\My Documents\Visual Studio 2010\Projects\myfirstplugin\myfirstplugin\myfirstplugin.cpp 71 1 myfirstplugin
3 IntelliSense: argument of type "float" is incompatible with parameter of type "float *" c:\documents and settings\topaz\my documents\visual studio 2010\projects\myfirstplugin\myfirstplugin\myfirstplugin.cpp 71 26 myfirstplugin
4 IntelliSense: argument of type "float" is incompatible with parameter of type "float *" c:\documents and settings\topaz\my documents\visual studio 2010\projects\myfirstplugin\myfirstplugin\myfirstplugin.cpp 71 29 myfirstplugin
5 IntelliSense: argument of type "float" is incompatible with parameter of type "float *" c:\documents and settings\topaz\my documents\visual studio 2010\projects\myfirstplugin\myfirstplugin\myfirstplugin.cpp 71 32 myfirstplugin
pawn Код:
65: std::sprintf(message, "Hello, %s!", name);
71: GetPlayerPos(playerid, x, y, z);