looking for a /spray or /carcolor
#9

that's because it's

pawn Код:
CMD:spray(playerid, params[])
{
   new colour1, colour2;
   if(sscanf(params, "ii", colour1, colour2)) return SendClientMessage(playerid, 0xFF0000AA, "USAGE: /spray <col1> <col2>");
   new Veh = GetPlayerVehicleID(playerid);
   ChangeVehicleColor(Veh, colour1, colour2);
    return 1;
}
EDIT: also you can

pawn Код:
CMD:carcolour(playerid, params[]) return cmd_spray(playerid, params);
Reply


Messages In This Thread
looking for a /spray or /carcolor - by scottygraham1990 - 22.12.2011, 20:53
Re: looking for a /spray or /carcolor - by skaTim - 22.12.2011, 20:54
Re: looking for a /spray or /carcolor - by IceCube! - 22.12.2011, 20:57
Re: looking for a /spray or /carcolor - by scottygraham1990 - 22.12.2011, 20:58
Re: looking for a /spray or /carcolor - by skaTim - 22.12.2011, 21:02
Re: looking for a /spray or /carcolor - by scottygraham1990 - 22.12.2011, 21:02
Re: looking for a /spray or /carcolor - by IceCube! - 22.12.2011, 21:05
Re: looking for a /spray or /carcolor - by scottygraham1990 - 22.12.2011, 21:13
Re: looking for a /spray or /carcolor - by [ABK]Antonio - 22.12.2011, 21:16
Re: looking for a /spray or /carcolor - by [ABK]Antonio - 22.12.2011, 22:17

Forum Jump:


Users browsing this thread: 2 Guest(s)