warning 203: symbol is never used: "vehicleid"
#1

So, I'm trying to create my own vehicle system using this tutorial: https://sampforum.blast.hk/showthread.php?tid=416104

I've already fixed all the errors, but I'm still getting this warning:
Код:
warning 203: symbol is never used: "vehicleid"
The code is:

Код:
VehicleFile(vehicleid)
{
	new strPath[64];
	format(strPath, sizeof(strPath), "Test/Vehicles/%d.ini");
	return strPath;
}
However, there are some other functions such as:

Код:
VehicleSave(vehicleid)
{
	new INI:vFile = INI_Open(VehicleFile(vehicleid));

LoadAllVehicles()
{
	new index = 0;

	while(fexist(VehicleFile(index)))
	{
		VehicleLoad(index, VehicleFile(index));
And if I remove "vehicleid" from the "VehicleFile" function, it shows warnings on all the other functions that do use VehicleFile(vehicleid). So, is there any way to fix this? It's very annoying and I'm not sure if it would create any bugs.
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)