04.05.2010, 09:31
Hey,
I got a weird problem. I show you the code
= errors
= no errors
It gives these errors
The most weird error of those is the error 001. There's no need to set a ; there.
Regards, Jochem
I got a weird problem. I show you the code
pawn Код:
public OnGetVehicleHealth(vehicleid)
{
new Float:health;
if(GetVehicleHealth(vehicleid,health) == < 15.0)
{
SendClientMessageToAll(COLOR_YELLOW,"failed");
}
return 1;
}
pawn Код:
public OnGetVehicleHealth(vehicleid)
{
new Float:health;
if(GetVehicleHealth(vehicleid,health) == 15.0)
{
SendClientMessageToAll(COLOR_YELLOW,"failed");
}
return 1;
}
It gives these errors
pawn Код:
C:\Users\Jochem\Documents\Roleplay\filterscripts\JobScript.pwn(4658) : error 029: invalid expression, assumed zero
C:\Users\Jochem\Documents\Roleplay\filterscripts\JobScript.pwn(4658) : warning 215: expression has no effect
C:\Users\Jochem\Documents\Roleplay\filterscripts\JobScript.pwn(4658) : error 001: expected token: ";", but found ")"
C:\Users\Jochem\Documents\Roleplay\filterscripts\JobScript.pwn(4658) : error 029: invalid expression, assumed zero
C:\Users\Jochem\Documents\Roleplay\filterscripts\JobScript.pwn(4658) : fatal error 107: too many error messages on one line
Regards, Jochem