/me isn't working
#1

pawn Код:
if(strcmp(cmd, "/me", true) == 0)
    {
        if(IsLogged[playerid] == 1)
        {
            new pname[24], str[128];
            GetPlayerName(playerid, pname, 24);

            if(PlayerInfo[playerid][MaskOn] == 1)
            {
                format(str, sizeof(str), "Stranger %s", str);
            }
            else
            {
                format(str, sizeof(str), "%s %s", pname, str);
            }

            ProxDetector(10.0, playerid, str, COLOR_FADE1, COLOR_FADE2, COLOR_FADE3, COLOR_FADE4, COLOR_FADE5);
        }
        else
        {
            SendClientMessage(playerid, COLOR_ERRORRED, "SERVER: You need to be logged in to use this command!");
        }
    }
It just displays their name or "stranger", no second part.
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: 2 Guest(s)