Liebe User
ich habe mir Ein Anti Money Hack gescriptet aber ich bekommen immer nur 1 Fehler
new playerCash[MAX_PLAYERS];
forward AntiMonyHack();
public AntiMonyHack()
{
for(new i = 0; i < MAX_PLAYERS; i++)
{
if(GetPlayerMoney(i) != playerCash)
{
if(GetPVarInt(i,"Adminlevel")== 0)
{
new string[128];
format(string,sizeof(string),"{FF0000}[ANTI-CHEAT]{FFFFFF} {B96613}%s{FFFFFF} wurde vom Server Kick, Grund : {B96613}Money Hack{FFFFFF}",SpielerName(i));
SendClientMessageToAll(Rot,string);
Kick(i);
return 1;
}
}
C:\Users\Giuseppe\Desktop\MyServer\gamemodes\Test.pwn(1705) : error 030: compound statement not closed at the end of file (started at line 1694)
Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase
1 Error.