error 203 - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (
https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (
https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: error 203 (
/showthread.php?tid=665769)
error 203 -
ShaggyShaggy - 15.04.2019
#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"
Re: error 203 -
Burridge - 15.04.2019
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.
Re: error 203 -
ShaggyShaggy - 15.04.2019
Yea, I solved
Thanks anyway