17.12.2010, 15:54
(
Последний раз редактировалось The_M; 18.12.2010 в 20:42.
Причина: att.
)
pawn Код:
public OnPlayerExitVehicle(playerid, vehicleid)
{
return 1;
}
public ProgressBar() //
{
for(new playerid; playerid < MAX_PLAYERS; playerid++) //
{
new vehicleid;
if((vehicleid = GetPlayerVehicleID(playerid)) && vhealth[playerid] != INVALID_BAR_ID)
{
new Float:health;
GetVehicleHealth(vehicleid, health);
SetProgressBarValue(vhealth[playerid], health);
UpdateProgressBar(vhealth[playerid], playerid);
}
}
}
Код:
C:\Documents and Settings\--(2566) : error 017: undefined symbol "vhealth" C:\Documents and Settings\--(2566) : warning 215: expression has no effect C:\Documents and Settings\--(2566) : error 001: expected token: ";", but found "]" C:\Documents and Settings\--(2566) : error 029: invalid expression, assumed zero C:\Documents and Settings\--(2566) : fatal error 107: too many error messages on one line Compilation aborted.Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase 4 Errors.