hey ich habe einen Healthtimer gemacht und paar probleme
public Healthtimer(playerid)
{
if(GetPlayerHealth(playerid)>1) //erster Warning
{
SetPlayerHealth(playerid,GetPlayerHealth(playerid)-1);
SpielerSpeichern(playerid);
return 1;
}
else if(GetPlayerHealth(playerid)==30)//zweiter Warning
{
SendClientMessage(playerid,ROT,"Du hast Hunger, gehe bitte etwas essen.");
return 1;
}
else if(GetPlayerHealth(playerid)==5)//dritter Warning
{
SendClientMessage(playerid,ROT,"Du hast Hunger, gehe bitte etwas essen.");
return 1;
}
return 1;
}
C:\Users\Nick\Desktop\Server\Server\gamemodes\streetofgermany.pwn(8617) : warning 202: number of arguments does not match definition
C:\Users\Nick\Desktop\Server\Server\gamemodes\streetofgermany.pwn(8620) : warning 202: number of arguments does not match definition
C:\Users\Nick\Desktop\Server\Server\gamemodes\streetofgermany.pwn(8625) : warning 202: number of arguments does not match definition
C:\Users\Nick\Desktop\Server\Server\gamemodes\streetofgermany.pwn(8633) : warning 202: number of arguments does not match definition
Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase
4 Warnings.
MFG
xDNGRSx