Hier einmal die Errors... :
C:\Users\OGI\Desktop\DRP v.1.2\gamemodes\SoLC.pwn(3426) : warning 235: public function lacks forward declaration (symbol "OnPlayerTakeDamage")
C:\Users\OGI\Desktop\DRP v.1.2\gamemodes\SoLC.pwn(3435) : warning 235: public function lacks forward declaration (symbol "OnPlayerClickTextDraw")
C:\Users\OGI\Desktop\DRP v.1.2\gamemodes\SoLC.pwn(3514) : warning 215: expression has no effect
C:\Users\OGI\Desktop\DRP v.1.2\gamemodes\SoLC.pwn(3533) : error 029: invalid expression, assumed zero
C:\Users\OGI\Desktop\DRP v.1.2\gamemodes\SoLC.pwn(3533) : warning 215: expression has no effect
C:\Users\OGI\Desktop\DRP v.1.2\gamemodes\SoLC.pwn(3533) : warning 215: expression has no effect
C:\Users\OGI\Desktop\DRP v.1.2\gamemodes\SoLC.pwn(3533) : warning 215: expression has no effect
C:\Users\OGI\Desktop\DRP v.1.2\gamemodes\SoLC.pwn(3533) : warning 215: expression has no effect
C:\Users\OGI\Desktop\DRP v.1.2\gamemodes\SoLC.pwn(3533) : error 001: expected token: ";", but found ")"
C:\Users\OGI\Desktop\DRP v.1.2\gamemodes\SoLC.pwn(3533) : error 029: invalid expression, assumed zero
C:\Users\OGI\Desktop\DRP v.1.2\gamemodes\SoLC.pwn(3533) : 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.
Und hier die Zeilen:
//------------------------------------------------------------------------------------------------------
main()
{
print("_______________________________________");
print("SoLC Roleplay wurde geladen");
print("Das Script wurde von ../ editiert!");
print("Das Script wurde von T4125Gamer nach LS Verlegt!");
print("_______________________________________");
print(" ");
}
//------------------------------------------------------------------------------------------------------
public OnPlayerTakeDamage(playerid, issuerid, Float: amount, weaponid) //<<------------------------------------------------------ HIER IST EIN FEHLER 3434 & 3435
{
if(issuerid != INVALID_PLAYER_ID)
{
PlayerPlaySound(issuerid,17802,0.0,0.0,0.0);
}
return 1;
}
public OnPlayerClickTextDraw(playerid, Text:clickedid)
{
if(_:clickedid != INVALID_TEXT_DRAW)
{
if(clickedid == Settings)
{
ShowPlayerDialog(playerid,DIALOG_SETTINGS2, DIALOG_STYLE_LIST,"Account verwalten", "Nummer ändern\nPasswort ändern","Auswählen","Abbrechen");
}
else if(clickedid == Settings1)
{
ShowPlayerDialog(playerid,DIALOG_CARCONTROL,DIALOG_STYLE_LIST,"Autos Kontrollieren","Auto zu/-aufschließen\nAuto parken\nSchlüssel wechseln\nAuto verkaufen","Ok","Abbrechen");
}
else if(clickedid == Settings2)
{
if(PlayerInfo[playerid][pPhousekey] == 255)
{
SendClientMessage(playerid, COLOR_WHITE, "Dir gehört kein Haus.");
return 1;
}
if(PlayerInfo[playerid][pPhousekey] !=255)
{
ShowPlayerDialog(playerid,DIALOG_HOUSECONTROL,DIALOG_STYLE_LIST,"Haus kontrollieren","Haus mietbar\nMiet Preis\nMieter einsehen\nAlle rausschmeißen\nHaus Upgrades\nHaus Marker setzen\nUser rausschmeißen\nHaus verkaufen","Ok","Abbrechen");
}
}
else if(clickedid == Settings3)
{
new bouse = PlayerInfo[playerid][pPbiskey];
if(bouse == 255)
{
SendClientMessage(playerid, COLOR_WHITE, "Dir gehört kein Geschäfft.");
return 1;
}
if (bouse >= 100)
{
ShowPlayerDialog(playerid,DIALOG_BIZCONTROL,DIALOG_STYLE_LIST,"Business kontrollieren","Business Info\nEintrittspreis\nProdukt Preis\nGeld einzahlen\nGeld abheben\nBusiness verkaufen","Ok","Abbrechen");
}
else
{
ShowPlayerDialog(playerid,DIALOG_BIZCONTROL,DIALOG_STYLE_LIST,"Business kontrollieren","Business Info\nEintrittspreis\nProdukt Preis\nGeld einzahlen\nGeld abheben\nBusiness verkaufen","Ok","Abbrechen");
}
}
else if(clickedid == Settings4)
{
if(PlayerInfo[playerid][pDonatorPoints] >= 1)
{
new str[900];
format(str,sizeof(str),"{00FF00}------------ Aktuelle Donatorpoints: %d ------------{00FF00}\n50.000${00FFFF} - (10 Donator Points){00FFFF}\n100.000$ {00FFFF} - (20 Donator Points){00FFFF}\nDonator Rang +100.000$ {00FFFF} - (50 Donator Points){00FFFF}\n2Respektpunkte{00FFFF} - (5 Donator Points){00FFFF}\n5Respektpunkte{00FFFF} - (10 Donator Points){00FFFF}\nLicensen und mehr (KLICK MICH)", PlayerInfo[playerid][pDonatorPoints]);
ShowPlayerDialog(playerid,DIALOG_DONATORDP,DIALOG_STYLE_LIST,"Donator Points Einlösen",str,"Wählen","Abbrechen");
}
else
{
SendClientMessage(playerid, COLOR_RED,"Du hast nicht genügend Donator Points!");
}
}
else if(clickedid == Settings5)
{
if(PlayerInfo[playerid][pStatsBox] == 0)
{
timer5[playerid] = SetTimerEx("Statstimer",1000,1,"i",playerid);
PlayerInfo[playerid][pStatsBox] = 1;
TextDrawShowForPlayer(playerid,Respekt[playerid]);
TextDrawShowForPlayer(playerid, BeduerfnissBG);
TextDrawShowForPlayer(playerid, Beduerfniss);
PlayerPlaySound(playerid,1058,0.0,0.0,0.0);
}
else
{
KillTimer(timer5[playerid]);
TextDrawHideForPlayer(playerid,Respekt[playerid]);
TextDrawHideForPlayer(playerid,Beduerfniss);
TextDrawHideForPlayer(playerid,BeduerfnissBG);
PlayerInfo[playerid][pStatsBox] = 0;
PlayerPlaySound(playerid,1058,0.0,0.0,0.0);
}
return 1;
}
else if(clickedid == Settings6)
{
CancelSelectTextDraw(playerid);
TextDrawHideForPlayer(playerid,Settings);
TextDrawHideForPlayer(playerid,Settings1);
TextDrawHideForPlayer(playerid,Settings2);
TextDrawHideForPlayer(playerid,Settings3);
TextDrawHideForPlayer(playerid,Settings4);
TextDrawHideForPlayer(playerid,Settings5);
TextDrawHideForPlayer(playerid,Settings6);
TextDrawHideForPlayer(playerid,SettingsBG);
TextDrawHideForPlayer(playerid,Settings0);
}
else if(clickedid == loginn)
{
new string[258];
new playername[MAX_PLAYER_NAME];
GetPlayerName(playerid, playername, sizeof(playername));
if(gPlayerAccount[playerid] == 1 && gPlayerLogged[playerid] == 0)
{
format(string,sizeof(string)," Willkommen zurück!\n {B0C4DE}Account: %s \n TIPP: Verwende dein Passwort nie auf anderen Servern! Du solltest es auch nicht\n an einer Zweiten Person weitergeben!\n Bitte logge dich mit deinem Passwort ein...",playername);
ShowPlayerDialog(playerid,DIALOG_LOGIN,DIALOG_STYLE_PASSWORD,"{B0C4DE}Willkommen zurück auf Infinity Reallife{FFFFFF}",string,"Login",""); //Hier ist ein Fehler !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! Zeile 3533
}
else if(gPlayerAccount[playerid] == 0 && gPlayerLogged[playerid] == 0);
{