19.03.2011, 03:48
Hi!
This is what I have so far, though it only sets one color, not both.
What is wrong?
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;
}