More command help [/changecolor]
#4

I would recommend you getting ZCMD.
Here is the ZCMD verison of it.:

pawn Код:
COMMAND:ccolor(playerid, params[])
{
    new color1,color2,vid = GetPlayerVehicleID(playerid),pstate = GetPlayerState(playerid);
    if(sscanf(params, "ii", color1, color2)) return SendClientMessage(playerid, COLOR_RED, "Usage: /ccolor [color1] [color2]");
    if(pstate == PLAYER_STATE_ONFOOT) return SendClientMessage(playerid,COLOR_NAVY,"VEHICLE: You must be in a vehicle to change your car color.");
    ChangeVehicleColor(vid,color1,color2);
    SendClientMessage(playerid,COLOR_NAVY,"VEHICLE: Your vehicles car color has now been changed.");
    return 1;
}
Reply


Messages In This Thread
More command help [/changecolor] - by Kyle. - 20.01.2011, 02:30
Re: More command help [/changecolor] - by [UG]Scripter - 20.01.2011, 02:35
Re: More command help [/changecolor] - by Kyle. - 20.01.2011, 03:09
Re: More command help [/changecolor] - by Tee - 20.01.2011, 03:28
Re: More command help [/changecolor] - by Antonio [G-RP] - 20.01.2011, 03:54
Re: More command help [/changecolor] - by hoodline - 20.01.2011, 04:09
Re: More command help [/changecolor] - by Joe Staff - 20.01.2011, 04:16

Forum Jump:


Users browsing this thread: 2 Guest(s)