19.08.2013, 15:17
You must add the color for the text.
As an example, if you want red color, add this on the top of your script:
And, make your command like this:
As an example, if you want red color, add this on the top of your script:
pawn Код:
#define COLOR_RED 0xAA3333AA
pawn Код:
CMD:tp(playerid, params[])
{
new int, Float: x, Float: y, Float: z;
if(sscanf(params, "dfff", int, x, y, z))
return SendClientMessage(playerid, COLOR_RED, "SYNTAX: /tp [int] [x] [y] [z]");
SetPlayerPos(playerid, x, y, z);
SetPlayerInterior(playerid, int);
return 1;
}