Local /me command script.
#9

This is how it looks and I'm still getting errors.

Код:
public OnPlayerCommandText(playerid, cmdtext[])
{
  if(!strcmp(cmdtext, "/me", true, 3)) // 3 is the length of /me
  {
    if(!cmdtext[3])
SendClientMessage(playerid, 0xFF0000FF, "USAGE: /me [action]");
{
    new string[128];
    GetPlayerName(playerid, string, sizeof(string));
    format(string, sizeof(string), "* %s %s", string, cmdtext[4]);
    ProxDetector(30, playerid, string,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE);
    }
 return 1;
}

  return 1;
}
I'm pretty new at this btw...
Reply


Messages In This Thread
Local /me command script. - by Waynewayne - 13.03.2010, 19:31
Re: Local /me command script. - by Crezy-Boy - 13.03.2010, 19:33
Re: Local /me command script. - by Waynewayne - 13.03.2010, 19:36
Re: Local /me command script. - by RP Addict - 13.03.2010, 19:41
Re: Local /me command script. - by Chriham3 - 13.03.2010, 19:45
Re: Local /me command script. - by Waynewayne - 13.03.2010, 19:47
Re: Local /me command script. - by Zimon95 - 13.03.2010, 19:49
Re: Local /me command script. - by Waynewayne - 13.03.2010, 19:50
Re: Local /me command script. - by Waynewayne - 13.03.2010, 19:55
Re: Local /me command script. - by RP Addict - 13.03.2010, 19:57

Forum Jump:


Users browsing this thread: 1 Guest(s)