31.01.2015, 12:34
public OnPlayerCommandText(playerid, cmdtext[])
{
if (strcmp("/droppanels", cmdtext, true, 10) == 0)
{
GetVehicleDamageStatus(vehicleid, panels, doors, lights, tires);
UpdateVehicleDamageStatus(vehicleid, 15, doors, lights, tires);
return 1;
}
return 0;
}
That's the command it's saying is wrong. The error message comes up with: "error 017: undefined symbol "vehicleid""
{
if (strcmp("/droppanels", cmdtext, true, 10) == 0)
{
GetVehicleDamageStatus(vehicleid, panels, doors, lights, tires);
UpdateVehicleDamageStatus(vehicleid, 15, doors, lights, tires);
return 1;
}
return 0;
}
That's the command it's saying is wrong. The error message comes up with: "error 017: undefined symbol "vehicleid""