2 problems
#4

Код:
if(!strcmp(cmdtext, "/me", true, 3))
			{
			  if(cmdtext[3] == 0) {
			  SendClientMessage(playerid, 0xFF0000FF, "USAGE: /me [action]");
			  return 1;
			  }
			  new str[128];
			  GetPlayerName(playerid, str, sizeof(str));
			  format(str, sizeof(str), " %s %s ", str, cmdtext[4]);
			  SendClientMessageToAll(COLOR_GOLD, str);
			  return 1;
			}
Take a look at the /me command and maybe you can learn about the wron command part.
Use an else after all the commands that are defined...if he types anything else with a slash behind then it shows Server:Unknow Command....i think it does that by defualt

Second : Use ----> [SA-MP WIKI<---- and search for pickup ids.

Hope it Helps
Reply


Messages In This Thread
2 problems - by sansko - 21.04.2010, 16:18
Re: 2 problems - by Babul - 21.04.2010, 16:37
Re: 2 problems - by sansko - 21.04.2010, 16:39
Re: 2 problems - by DJDhan - 21.04.2010, 16:42

Forum Jump:


Users browsing this thread: 1 Guest(s)