hey ich benutze das Donate System Klick Hier aber wenn ich es compeliere kommt der Error
C:\Dokumente und Einstellungen\Rene\Desktop\asd\filterscripts\new.pwn(38) : warning 217: loose indentation
C:\Dokumente und Einstellungen\Rene\Desktop\asd\filterscripts\new.pwn(38) : error 017: undefined symbol "PlayerInfo"
C:\Dokumente und Einstellungen\Rene\Desktop\asd\filterscripts\new.pwn(38) : warning 215: expression has no effect
C:\Dokumente und Einstellungen\Rene\Desktop\asd\filterscripts\new.pwn(38) : error 001: expected token: ";", but found "]"
C:\Dokumente und Einstellungen\Rene\Desktop\asdy\filterscripts\new.pwn(38) : error 029: invalid expression, assumed zero
C:\Dokumente und Einstellungen\Rene\Desktop\asd\filterscripts\new.pwn(38) : fatal error 107: too many error messages on one line
Compilation aborted.Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase
4 Errors.
zeilen tuhe gleich den ganzen public rein:
public OnDialogResponse(playerid, dialogid, response, listitem, inputtext[])
{
if(dialogid == 1)
{
new donate;
new file = ini_openFile("donate.ini");
if(ini_getInteger(file, inputtext, donate) == 0)
{
if(donate == 1) // FIND (NOT MONEY) (DONATERANK)
{
SendClientMessage(playerid,-1,"VIP Account activated");
PlayerInfo[playerid][pDonateRank] = 1;
return 1;
}
if(donate == 2) // FIND (NOT MONEY) (LEVEL)
{
SendClientMessage(playerid,-1,"Level UP to 1 point");
PlayerInfo[playerid][pLevel] += 1;
return 1;
}
if(donate == 3)
{
SendClientMessage(playerid,-1,"Phone Number changed for 4 symbols");
new randphone = 1000 + random(9999);//minimum 1000 max 9999 //giving one at the start
PlayerInfo[playerid][pPnumber] = randphone;
return 1;
}
GivePlayerMoney(playerid,donate);
ini_removeKey(file,inputtext);
SendClientMessage(playerid,-1,"Thank's for donate");
}
else
{
SendClientMessage(playerid,-1,"Wrong Code");
}
iniClose(file);
}
return 1;
}
edit: habs selber herausgefunden, aber jetzt habe die errors