Public feed
#888008
if(strcmp(cmd,"/color",true) == 0)
{
new tmp[256];
new tmp2[256];
tmp = strtok(cmdtext, idx);
tmp2 = strtok(cmdtext, idx);
if(!strlen(tmp))
{
SendClientMessage(playerid,COLOR_WHITE,"Wpisz: /kolor [id koloru 1] [id koloru 2]");
}
else if(!strlen(tmp2))
{
ChangeVehicleColor(GetPlayerVehicleID(playerid),strval(tmp),strval(tmp));
}
return 1;
}