Sers Community,
ich möchte das wenn mein Car 251 HP hat das mein Tacho dann weggeht.
Nur bekomme Errors.
public OnVehicleDeath(vehicleid, killerid)
{
if(GetVehicleHealth(vehicleid < 251)
{
TextDrawHideForPlayer(playerid, speedo1[playerid]);
TextDrawHideForPlayer(playerid, speedo2[playerid]);
TextDrawHideForPlayer(playerid, speedo3[playerid]);
TextDrawHideForPlayer(playerid, speedo4[playerid]);
return 1;
}
return 1;
}
______________
C:\Dokumente und Einstellungen\Sevket\Desktop\German Deathmatch\gamemodes\Deathmatch.pwn(2374) : warning 202: number of arguments does not match definition
C:\Dokumente und Einstellungen\Sevket\Desktop\German Deathmatch\gamemodes\Deathmatch.pwn(2375) : error 001: expected token: ")", but found "{"
C:\Dokumente und Einstellungen\Sevket\Desktop\German Deathmatch\gamemodes\Deathmatch.pwn(2376) : error 017: undefined symbol "playerid"
C:\Dokumente und Einstellungen\Sevket\Desktop\German Deathmatch\gamemodes\Deathmatch.pwn(2376) : error 017: undefined symbol "playerid"
C:\Dokumente und Einstellungen\Sevket\Desktop\German Deathmatch\gamemodes\Deathmatch.pwn(2376) : error 029: invalid expression, assumed zero
C:\Dokumente und Einstellungen\Sevket\Desktop\German Deathmatch\gamemodes\Deathmatch.pwn(2376) : fatal error 107: too many error messages on one line
Compilation aborted.Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase
5 Errors.