Guten Morgen Zusammen
Ich bräuchte mal euch hilfe.
Ich habe grade versucht ein Anti(Health&Amour) Zu Scripten
Nach diesem Tutorial:
>Tutorial<
Und habe dabei 5 Error´s Bekommen
C:\Users\Dome\Desktop\pawno\Untitled.pwn(55) : warning 202: number of arguments does not match definition
C:\Users\Dome\Desktop\pawno\Untitled.pwn(55) : warning 202: number of arguments does not match definition
C:\Users\Dome\Desktop\pawno\Untitled.pwn(142) : warning 235: public function lacks forward declaration (symbol "OnGameModExit")
C:\Users\Dome\Desktop\pawno\Untitled.pwn(145) : error 017: undefined symbol "ArmourTimer"
C:\Users\Dome\Desktop\pawno\Untitled.pwn(377) : warning 202: number of arguments does not match definition
C:\Users\Dome\Desktop\pawno\Untitled.pwn(436) : error 029: invalid expression, assumed zero
C:\Users\Dome\Desktop\pawno\Untitled.pwn(436) : warning 215: expression has no effect
C:\Users\Dome\Desktop\pawno\Untitled.pwn(436) : error 001: expected token: ";", but found ")"
C:\Users\Dome\Desktop\pawno\Untitled.pwn(436) : error 029: invalid expression, assumed zero
C:\Users\Dome\Desktop\pawno\Untitled.pwn(436) : fatal error 107: too many error messages on one line
Und hier sind die Zeilen:
KillTimer(ArmourTimer);
if(GetPVarInt(,"Adminlevel") == 0)
Und hier mal Die Ganzen Zeilen:
public AntiHealthHack(playerid)
{
for(new i; i < MAX_PLAYERS; i++)
{
if(IsPlayerConnected(i))
{
GetPlayerHealth(i, health);
if(health > 135)
{
if(GetPVarInt(,"Adminlevel") == 0);
{
new string[128];
format(string,sizeof(string),"_~*AntiCheat*~_ hat %s gebannt. (Cheater/ Healthhack)",SpielerName(i));
SendClientMessageToAll(0xFF0000FF,string);
SetPVarInt(i,"Baned",1);
Kick(i);
}
}
}
}
return 1;
}
public OnGameModExit()
{
KillTimer(HealthTimer);
KillTimer(ArmourTimer);
}
Ich Hoffe ihr könnt mir Helfen
Habe schon alles versucht, aber irgendwie kriege ich die Error´s nicht weg
MFG
Sladekillder