/cc - CarColour
#8

Here's mine. Works great.
pawn Код:
CMD:color(playerid,params[])
{        
        new col[2],string[128];
        if(sscanf(params, "dd",col[0],col[1])) return SendClientMessage(playerid, COLOR_RED, "Usage: /color [Color 1] [Color 2]");
        if(!IsPlayerInAnyVehicle(playerid)) return SendClientMessage(playerid,COLOR_RED,"You must be in a car!");
        ChangeVehicleColor(GetPlayerVehicleID(playerid), col[0],col[1]);
        format(string,sizeof(string),""COL_GREEN"You changed color on your car to: (%d) (%d)",col[0],col[1]);
        SendClientMessage(playerid,-1,string);
        return 1;
}
Reply


Messages In This Thread
/cc - CarColour - by PCheriyan007 - 17.08.2012, 02:41
Re: /cc - CarColour - by Dare Devil..... - 17.08.2012, 04:52
Re: /cc - CarColour - by PCheriyan007 - 17.08.2012, 16:10
Re: /cc - CarColour - by Youarex - 17.08.2012, 16:36
Re: /cc - CarColour - by PCheriyan007 - 17.08.2012, 17:17
Re: /cc - CarColour - by Youarex - 17.08.2012, 19:01
Re: /cc - CarColour - by Dan. - 17.08.2012, 19:04
Re: /cc - CarColour - by mrsamp - 17.08.2012, 19:54
Re: /cc - CarColour - by PCheriyan007 - 17.08.2012, 19:56
Re: /cc - CarColour - by PCheriyan007 - 17.08.2012, 20:06

Forum Jump:


Users browsing this thread: 2 Guest(s)