what the proplem with this fs?
#1

Код:
	if(strcmp(cmdtext, "/me", true) == 0)
	{
	    if(IsPlayerConnected(playerid))
	    {

			}
			new length = strlen(cmdtext);
			while ((idx < length) && (cmdtext[idx] <= ' '))
			{
				idx++;
			}
			new offset = idx;
			new result[128];
			while ((idx < length) && ((idx - offset) < (sizeof(result) - 1)))
			{
				result[idx - offset] = cmdtext[idx];
				idx++;
			}
			result[idx - offset] = EOS;
			if(!strlen(result))
			{
				SendClientMessage(playerid, grey, "USAGE: /me [action]");
				return 1;
			}
plz help fast
Reply
#2

I wanna know what's the problem too....

* Vukilore doesn't work with strcmp, because if you type /meee that's result Your_Nick ee
Reply
#3

i am wait for answer
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)