Some help needed.
#1

Hello there, dear readers.

I have seen on many different servers that if a player typed the wrong command it says like: "This command is not in the script, use /help for more information." Could anyone give me that script so I could edit it for my server please? And how can I do like this: |_____________________Help_________________________|? How can I get a black code in the middle there?
Reply
#2

At the very botton of OnPlayerCommandText callback, replace return 0; with:
pawn Код:
return SendClientMessage(playerid, YOUR_COLOR, "Your message here");
Reply
#3

how can I do like this: |_____________________Help_________________________|? How can I get a black code in the middle there? How that
Reply
#4

pawn Код:
SendClientMessage(playerid, -1, "{FFFFFF}|______________{000000}help{FFFFFF}___________|");
it will say:
Код:
|______________help___________|
so here
pawn Код:
-1 , is nothing just no color i.e. white color // ignore it
{FFFFFF} is 6 Digit Hex code [ white color  ] //secondary color
{000000} is 6 Digit Hex code [ black color  ] // main text color
goto colorpicker.com to select 6 Digit hex code and paste it inside {HERE}
Reply
#5

// at top of script
pawn Код:
#define COLOR_RED 0xFF0000FF
#define COLOR_BLACK 0x000000FF

SendClientMessage(playerid,COLOR_RED,"______________"COLOR_BLACK"HELP"COLOR_RED"____________");
Reply
#6

pawn Код:
return SendClientMessage(playerid, YOUR_COLOR, "|_____________________{0B0000}Help_________________________|");
Reply
#7

Where can I get those codes?
Reply
#8

Go to http://www.2createawebsite.com/build/hex-colors.html and pick your color,after paste it between {}
Reply
#9

All color defines *CLICK
Reply
#10

Quote:

goto colorpicker.com to select 6 Digit hex code and paste it inside {HERE}

Read posts =__= properly, lol
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)