Command Need
#4

Give er' a try!
pawn Код:
CMD:carcolor(playerid, params[])
{
    new C1, C2, tmp, tmp2, Index; tmp = strtok(params, Index); tmp2 = strtok(params, Index);
    C1 = strval(tmp); C2 = strval(tmp2);
    if(!strlen(tmp) || !strlen(tmp2)) return SendClientMessage(playerid, -1, "Usage: /CarColor < Color 1 > < Color 2 >");
 
    ChangeVehicleColor(GetPlayerVehicleID(playerid), C1, C2);
   return 1;
}
Reply


Messages In This Thread
Command Need - by SamyRomafia - 23.12.2010, 01:40
Re: Command Need - by [L3th4l] - 23.12.2010, 01:44
Re: Command Need - by SamyRomafia - 23.12.2010, 01:47
Re: Command Need - by willsuckformoney - 23.12.2010, 01:57

Forum Jump:


Users browsing this thread: 1 Guest(s)