Some errors related to SA-MP GDK
#1

Can someone help me figuring out this error?

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
Error Lines:
pawn Код:
65: std::sprintf(message, "Hello, %s!", name);
71: GetPlayerPos(playerid, x, y, z);
Reply


Messages In This Thread
Some errors related to SA-MP GDK - by T0pAz - 25.12.2011, 16:47
Re: Some errors related to SA-MP GDK - by T0pAz - 25.12.2011, 16:56
Re: Some errors related to SA-MP GDK - by SlashPT - 25.12.2011, 18:55
Re: Some errors related to SA-MP GDK - by T0pAz - 26.12.2011, 08:37
Re: Some errors related to SA-MP GDK - by CyNiC - 26.12.2011, 10:34
Re: Some errors related to SA-MP GDK - by T0pAz - 26.12.2011, 11:32
Re: Some errors related to SA-MP GDK - by Gamer_Z - 07.01.2012, 19:25
Re: Some errors related to SA-MP GDK - by T0pAz - 08.01.2012, 05:48
Re: Some errors related to SA-MP GDK - by Gamer_Z - 08.01.2012, 06:12
Re: Some errors related to SA-MP GDK - by T0pAz - 08.01.2012, 06:19
Re: Some errors related to SA-MP GDK - by Kyosaur - 08.01.2012, 06:31
Re: Some errors related to SA-MP GDK - by T0pAz - 08.01.2012, 06:35
Re: Some errors related to SA-MP GDK - by Kyosaur - 08.01.2012, 06:43
Re: Some errors related to SA-MP GDK - by T0pAz - 08.01.2012, 06:45
Re: Some errors related to SA-MP GDK - by Kyosaur - 08.01.2012, 07:58

Forum Jump:


Users browsing this thread: 1 Guest(s)