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


Messages In This Thread
what the proplem with this fs? - by misho1 - 06.04.2011, 15:40
Re : what the proplem with this fs? - by Vukilore - 06.04.2011, 15:46
Re: what the proplem with this fs? - by misho1 - 06.04.2011, 15:46

Forum Jump:


Users browsing this thread: 3 Guest(s)