SA-MP Forums Archive
Another help [ please ] - 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: Another help [ please ] (/showthread.php?tid=306019)



Another help [ please ] - Artix - 24.12.2011

It always say That use is not connected and i compiled it right
in other samp versions it works
but why in 0.3d NOT?
please


Код:
CMD:kick(playerid, params[])
{
	if(PInfo[playerid][pAdmin] >= 3)
	{
		new pID;
		if(sscanf(params, "us[60]", pID, params)) return SendClientMessage(playerid, COLOR_RED, "* Usage: /Kick < Player ID > < Reason >");
		if(!IsPlayerConnected(pID)) return SendClientMessage(playerid, COLOR_RED, "That user is not connected!");

		return Kick(pID);
	}
	else return AdminCMD(playerid, 3);
}



Re: Another help [ please ] - Alureon - 24.12.2011

Try updating sscanf.


AW: Another help [ please ] - xerox8521 - 24.12.2011

instead of
pawn Код:
if(sscanf(params, "us[60]", pID, params)) return SendClientMessage(playerid, COLOR_RED, "* Usage: /Kick < Player ID > < Reason >");
use
pawn Код:
if(sscanf(params, "ds[60]", pID, params)) return SendClientMessage(playerid, COLOR_RED, "* Usage: /Kick < Player ID > < Reason >");



Re: Another help [ please ] - Artix - 24.12.2011

I got this problem after i update




AW: Another help [ please ] - xerox8521 - 24.12.2011

Quote:
Originally Posted by Thomas
For those of you having the "missing MSVCR100.dll" error; install the x86 version of the C++ 2010 redistributable package, no matter if your system is 64-bit or not.
Quote:
Originally Posted by ******
Or just recompile the plugin. The old download contains a solution for Visual Studio 2008, the new download contains a solution for Visual Studio 2010. Make sure you use the latest files, just replace the old ones if you're using the old solution - everything else is the same.
https://sampforum.blast.hk/showthread.php?tid=120356


Re: Another help [ please ] - Artix - 24.12.2011

Oh ok thanks a lot man