How To Change Color On Cmd /highlight
#1

I have a problem in replacing colors in cmds / highlights

In Script moneypimp cmds / highlight just change the color to red and yellow player but I want to replace it with a light blue and green.

please give suggestions of what I should do
Код HTML:
//==============================================================================
//-------------------------------------------------
// HighLight
//-------------------------------------------------
//==============================================================================
public HighLight(playerid)
{
	if(!IsPlayerConnected(playerid))
	return 1;
	if(AccInfo[playerid][blipS] == 0)
	{
		SetPlayerColor(playerid, 0xFF0000AA);
		AccInfo[playerid][blipS] = 1;
	}
	else
	{
		SetPlayerColor(playerid, 0xFFFF00AA);
		AccInfo[playerid][blipS] = 0;
	}
	return 0;
}
Reply
#2

I don't get what you are trying to say. Please explain a bit more or use ****** translate to translate your native language to English.
Reply
#3

Done I Fix the thread
Reply
#4

change that code to
pawn Код:
//==============================================================================
//-------------------------------------------------
// HighLight
//-------------------------------------------------
//==============================================================================
public HighLight(playerid)
{
    if(!IsPlayerConnected(playerid))
    return 1;
    if(AccInfo[playerid][blipS] == 0)
    {
        SetPlayerColor(playerid, 0x008AFFFF);
        AccInfo[playerid][blipS] = 1;
    }
    else
    {
        SetPlayerColor(playerid, 0x00FF00FF);
        AccInfo[playerid][blipS] = 0;
    }
    return 0;
}
Reply
#5

Only on Pwn or with .amx ?
Reply
#6

Still Change to Red And Yellow .

how to change to color Red and LightGreen
Reply
#7

Change your code with mine and press F5 in Pawno
Reply
#8

@Ryder Earlier I said you to explain what you modified in the code.

@Crazy
pawn Код:
SetPlayerColor(playerid, 0x00FF00FF);
here just change this value 0x00FF00FF to the value of the color you want.
Reply
#9

@Faisal where did you say that?
You can see in my code i modified the colors.
Reply
#10

Quote:
Originally Posted by [HK]Ryder[AN]
Посмотреть сообщение
@Faisal where did you say that?
You can see in my code i modified the colors.
mlol you forgot.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)