14.06.2011, 07:34
You are only making two comparisons...
I'd say you're better off using a switch, instead of the ternary operator to declutter your code for this operation though.
pawn Code:
SetPlayerColor(playerid, (classid == 0) ? 0xFFFFFFFF : 0xAAAAAAAA);