/me isn't working
#7

Quote:
Originally Posted by lowrida018
Посмотреть сообщение
You copied that off a admin script, witch needs Includes.
I rewrote it any way, to look like this:

pawn Код:
if(!strcmp(cmdtext, "/me", true, 3))
    {
        if(!cmdtext[3])return SendClientMessage(playerid, COLOR_ERRORRED, "USAGE: /me [ACTION]");
       
        new str[128];
        GetPlayerName(playerid, str, sizeof(str));
       
        if(PlayerInfo[playerid][MaskOn] == 1)
        {
                format(str, sizeof(str), "* Stranger %s", cmdtext[4]);
        }
        else
        {
                format(str, sizeof(str), "* %s %s", str, cmdtext[4]);
        }
       
        ProxDetector(10.0, playerid, str, COLOR_FADE1, COLOR_FADE2, COLOR_FADE3, COLOR_FADE4, COLOR_FADE5);

        return 1;
    }
Does anyone have that purple colour that most servers use in /me?
Reply


Messages In This Thread
/me isn't working - by Jonteh - 15.05.2011, 21:48
Re: /me isn't working - by NRJ53 - 15.05.2011, 21:51
Re: /me isn't working - by lowrida018 - 15.05.2011, 21:57
Re: /me isn't working - by Naruto_Emilio - 15.05.2011, 22:00
Re: /me isn't working - by lowrida018 - 15.05.2011, 22:04
Re: /me isn't working - by Jonteh - 15.05.2011, 22:06
Re: /me isn't working - by Jonteh - 15.05.2011, 22:09
Re: /me isn't working - by Naruto_Emilio - 15.05.2011, 22:09
Re: /me isn't working - by lowrida018 - 15.05.2011, 22:16
Re: /me isn't working - by Jonteh - 15.05.2011, 22:17

Forum Jump:


Users browsing this thread: 5 Guest(s)