Jobs - Correct Usage?
#1

pawn Код:
switch ( classid )
        {
            case 280 .. 286, 297: {
                g_iJob[ playerid ] = JOB_POLICE;
                SetPlayerColor(playerid, COLOR_PD);
            }
            case 274 .. 276: {
                g_iJob[ playerid ] = JOB_EMS;
                SetPlayerColor(playerid, COLOR_EMS);
            }
            case 277, 288, 289: {
                g_iJob[ playerid ] = JOB_FIREMAN;
                SetPlayerColor(playerid, COLOR_FIRE);
            }
        }
Correct?
Reply
#2

If your asking if the syntax is correct, yes.
Reply
#3

Okay thanks, But still when I join and have I say have a EMS skin my Name Tag is not Pink?
Reply
#4

Make sure the definition "COLOR_EMS" is pink, it is setup correctly.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)