Jump to content
  • 0

DSR tag


Samy Romafia

Question

[PAWN]

public OnPlayerText(playerid, text[])

{

    new nString[256]; //by Zh3r000000

    strcat(nString,text,256);

    new PlayerName2[ 26 + 1];

    GetPlayerName( playerid, PlayerName2, 26 + 1 );

    if ( strfind( PlayerName2 ,"[DSR]",false ) != -1 )

    {

        format( nString,sizeof nString,"%s: %s", PlayerName2, text );

        strins( nString,"{D3D3D3}",0,10 );//[

        strins( nString,"{32DD02}",1,10 );//D

        strins( nString,"{FFFFFF}",2,10 );//S

        strins( nString,"{CD020C}",3,10 );//R

        strins( nString,"{D3D3D3}",4,10 );//]

        strins( nString,"{FFFFFF}",5,10 );//text..blablalbla

        SendClientMessageToAll( 0xFF4040AA,nString );

        return 0;

    }

    return SendPlayerMessageToAll(playerid, ColouredText(text)), 0;

}[/pawn]

Asa se vede O_O

attachment.php?attachmentid=1509&d=1304436552

senzaolo1xv.png

www.dsrclan.forumfree.it

Link to comment
Share on other sites

0 answers to this question

Recommended Posts

There have been no answers to this question yet

Guest
This topic is now closed to further replies.
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. For more details you can also review our Terms of Use and Privacy Policy.