Need help.
dcmd_e(playerid, params[])
{
new Loesung;
if(sscanf(params,"us", Loesung)) return SendClientMessage(playerid, Rot,"Verwendung: /e Lösung!");
if(matheaktiv == 1){
if(Loesung == matheloesung){
new String[128]
format(String, 128, ">>>Mathe: %s hat die Rechnung gelöst! (Lösung: %d)<<<", SpielerName(playerid), Loesung);
SendClientMessageToAll(Orange, String);
GivePlayerMoney(playerid, 5000);
} else if {
SendClientMessage(playerid, Rot, "Das war Falsch!");
} else if {
SendClientMessage(playerid, Rot, "Es ist keine Mathe Aufgabe Aktiv!");
}
}
return 1;
}
Hier die errors
ZitatAlles anzeigenC:\Users\Pascal\Desktop\Script scheiße\BLUB z\gamemodes\fxl.pwn(2025) : warning 215: expression has no effect
C:\Users\Pascal\Desktop\Script scheiße\BLUB z\gamemodes\fxl.pwn(2188) : error 001: expected token: ";", but found "-identifier-"
C:\Users\Pascal\Desktop\Script scheiße\BLUB z\gamemodes\fxl.pwn(2192) : error 008: must be a constant expression; assumed zero
C:\Users\Pascal\Desktop\Script scheiße\BLUB z\gamemodes\fxl.pwn(2193) : error 029: invalid expression, assumed zero
C:\Users\Pascal\Desktop\Script scheiße\BLUB z\gamemodes\fxl.pwn(2193) : warning 215: expression has no effect
C:\Users\Pascal\Desktop\Script scheiße\BLUB z\gamemodes\fxl.pwn(2193) : error 001: expected token: ";", but found "else"
C:\Users\Pascal\Desktop\Script scheiße\BLUB z\gamemodes\fxl.pwn(2194) : error 008: must be a constant expression; assumed zero
C:\Users\Pascal\Desktop\Script scheiße\BLUB z\gamemodes\fxl.pwn(2195) : error 029: invalid expression, assumed zero
Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase
6 Errors.