15.04.2019, 13:37
#define FILTERSCRIPT
#include <a_samp>
new c_color = 0;
(7) CMD:carcolor(playerid, params[])
{
if(!IsPlayerInAnyVehicle(playerid))return SendClientMessage(playerid, -1, "{ff0000}You need to be in car to use this command");
ChangeVehicleColor(GetPlayerVehicleID(playerid), c_color, c_color);
new mes[128];
format(mes, sizeof(mes), "{00cc00}[INFO]: {ffffff}You have changed your car color to id {ff0000}%i",c_color);
SendClientMessage(playerid, -1, mes);
c_color++;
return 1;
}
(7) : warning 203: symbol is never used: "carcolor"
#include <a_samp>
new c_color = 0;
(7) CMD:carcolor(playerid, params[])
{
if(!IsPlayerInAnyVehicle(playerid))return SendClientMessage(playerid, -1, "{ff0000}You need to be in car to use this command");
ChangeVehicleColor(GetPlayerVehicleID(playerid), c_color, c_color);
new mes[128];
format(mes, sizeof(mes), "{00cc00}[INFO]: {ffffff}You have changed your car color to id {ff0000}%i",c_color);
SendClientMessage(playerid, -1, mes);
c_color++;
return 1;
}
(7) : warning 203: symbol is never used: "carcolor"