[FilterScript] Define's to Hex
#1

Hello,

I was created a new script for #Define -> Hex in chat!!

It's fast.

Код:
[13:26:05] Test 1) ColouredText: 156 ms ; DefineToHex: 66 ms
[13:26:05] Test 2) ColouredText: 176 ms ; DefineToHex: 63 ms
[13:26:05] Test 3) ColouredText: 156 ms ; DefineToHex: 66 ms
[13:26:06] Test 4) ColouredText: 153 ms ; DefineToHex: 62 ms
[13:26:06] Test 5) ColouredText: 151 ms ; DefineToHex: 67 ms
[13:26:06] Test 6) ColouredText: 151 ms ; DefineToHex: 65 ms
[13:26:06] Test 7) ColouredText: 151 ms ; DefineToHex: 64 ms
[13:26:07] Test 8) ColouredText: 148 ms ; DefineToHex: 65 ms
(loop = 1000)

ColouredText is by Ryder.

Download: PASTEBIN

Use:
pawn Код:
public OnPlayerText(playerid,text[])
{
    SendPlayerMessageToAll(playerid,DefineToHex(text));
    return 0;
}
You can use colors:

Код:
#RED
#BLUE
#YELLOW
#GREY
#DBLUE
#DGREEN
#PINK
#LBLUE
#LGREEN
#WHITE
#ORANGE
#GREEN

=


Kaczmi
Reply
#2

Its Great,
Nice Release.
Reply
#3

Thx.

I can add some colors, if you want ..
Reply
#4

Nice one easy configurable and yeah good job!
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)