Player Colour Problem
#4

Where are your brackets? { }

pawn Код:
if(vehicleid == CXN130)
{
  SendClientMessage(playerid, 0xFF0000, "Tail Number C-XN-130");
  SetPlayerColor(playerid, COLOR_GREEN);
}

if(vehicleid == MCK345)
{
  SendClientMessage(playerid, 0xFF0000, "Tail Number M-CK-345");
  SetPlayerColor(playerid, COLOR_RED);
}
Maybe that would make it work?

and what is always red the player icon color or the message

if it's the message they both are "0xFF0000" - i don't know what color that is off the top of my head so.

and if it's the player icon color, show us your #defines for COLOR_GREEN and COLOR_RED
Reply


Messages In This Thread
Player Colour Problem - by JoeDaDude - 23.04.2009, 19:25
Re: Player Colour Problem - by OmeRinG - 23.04.2009, 19:28
Re: Player Colour Problem - by JoeDaDude - 23.04.2009, 19:35
Re: Player Colour Problem - by lavamike - 23.04.2009, 20:44
Re: Player Colour Problem - by GammerZ - 23.04.2009, 20:47
Re: Player Colour Problem - by lavamike - 23.04.2009, 20:48
Re: Player Colour Problem - by [LCG]TANKER - 23.04.2009, 23:24
Re: Player Colour Problem - by ICECOLDKILLAK8 - 23.04.2009, 23:28

Forum Jump:


Users browsing this thread: 1 Guest(s)