"error 017: undefined symbol "vehicleid"" problem.
#1

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

PHP Code:
    new vehicleid GetPlayerVehicleID(playerid); 
Reply
#3

It now crashes the pawn compiler library when I try to compile it.
Reply
#4

PHP Code:
new panelsdoorslightstires
Reply
#5

That's already there
Reply
#6

It should be like this
PHP Code:
new panelsdoorslightstires;    
GetVehicleDamageStatus(vehicleidpanelsdoorslightstires);
UpdateVehicleDamageStatus(vehicleidpanelsdoorslights15); 
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)