error 203
#1

#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"
Reply
#2

You need to include zcmd under a_samp. https://sampforum.blast.hk/showthread.php?tid=91354 Put zcmd.inc inside your include folder, which is found under the pawno folder.

Code:
#include <zcmd>
Reply
#3

Yea, I solved Thanks anyway
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)