23.04.2009, 20:44
Where are your brackets? { }
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
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);
}
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