Another help [ please ]
#1

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);
}
Reply
#2

Try updating sscanf.
Reply
#3

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 >");
Reply
#4

I got this problem after i update

Reply
#5

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
Reply
#6

Oh ok thanks a lot man
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)