How do I rearrange this...
#1

pawn Код:
if(!strcmp(cmdtext, "/do", true, 3)) // 3 is the length of /me
        {
            if(!cmdtext[3])return SendClientMessage(playerid, 0xFF0000FF, "Correct usage: /do [text]");
            new str[128];
            GetPlayerName(playerid, str, sizeof(str));
            format(str, sizeof(str), "* %s %s", str, cmdtext[4]);
            ProxDetector(20.0, playerid, str, 0xFF85FFB0,0xFF85FFB0,0xFF85FFB0,0xFF85FFB0,0xFF85FFB0);
            return 1;
    }
Currently this would look like

Robert types this in

I want it to be like

Text Entered ((PlayerName))

how do I do that?
Reply


Messages In This Thread
How do I rearrange this... - by Rabbayazza - 25.07.2012, 10:50
Re: How do I rearrange this... - by Kindred - 25.07.2012, 10:52
Re: How do I rearrange this... - by Rabbayazza - 25.07.2012, 10:54

Forum Jump:


Users browsing this thread: 2 Guest(s)