Simple question: /vehcolor
#1

Hi!

This is what I have so far, though it only sets one color, not both.

pawn Код:
CMD:vehcolor( playerid, params[ ] )
{
    if ( sscanf( params, "ui", params[ 1 ], params[ 2 ] ) )
    {
        return SendClientMessage(playerid, -1, "Syntax: /vehcolor <color 1> <color 2>");
    }
    else
    {
    new stringone = params[ 1 ];
    new stringtwo = params[ 2 ];
    ChangeVehicleColor(GetPlayerVehicleID(playerid), stringone, stringtwo);
    }
    return 1;
}
What is wrong?
Reply


Messages In This Thread
Simple question: /vehcolor - by anumaz - 19.03.2011, 03:48
Re: Simple question: /vehcolor - by admantis - 19.03.2011, 03:55

Forum Jump:


Users browsing this thread: 1 Guest(s)