Hallo Breadfish,
da ich irgendwie ab dem startbonus Hänge brauche ich hier mal immer wieder hilfe.
Das ist mein Code:
if(dialogid == DIALOG_STARTBONUS)
{
if(response)
{
if(listitem == 0) // startbonus
{
ShowPlayerDialog(playerid,DIALOG_STARTBONUS,DIALOG_STYLE_LIST,"Auswahl","150.000$\nRoller License + 110.000 $\nAutoschein + 115.000$","Nehmen","Beenden");
}
}
}
if(dialogid == DIALOG_STARTBONUS2)
{
if(response)
{
if(listitem == 0) //startbonus
{
{
GivePlayerMoney(playerid,150000);
}
}
if(listitem == 1)//startbonus
{
{
PlayerInfo[playerid][pRollerLic] = 1;
GivePlayerMoney(playerid,110000);
}
}
if(listitem == 2)//startbonus
{
{
PlayerInfo[playerid][pCarLic] = 1;
GivePlayerMoney(playerid,115000);
}
}
}
}
Function ERFOLG(playerid)
{
ShowPlayerDialog(playerid, DIALOG_STARTBONUS, DIALOG_STYLE_LIST, "Startbonus", "Ich will einen!", "Ja", "Nein, Danke");
return 1;
}
Errors:
C:\Users\Strato\Desktop\RRP Server\gamemodes\Release.pwn(57801) : error 029: invalid expression, assumed zero
C:\Users\Strato\Desktop\RRP Server\gamemodes\Release.pwn(57808) : error 029: invalid expression, assumed zero
C:\Users\Strato\Desktop\RRP Server\gamemodes\Release.pwn(57808) : warning 215: expression has no effect
C:\Users\Strato\Desktop\RRP Server\gamemodes\Release.pwn(57808) : warning 215: expression has no effect
C:\Users\Strato\Desktop\RRP Server\gamemodes\Release.pwn(57808) : warning 215: expression has no effect
C:\Users\Strato\Desktop\RRP Server\gamemodes\Release.pwn(57808) : warning 215: expression has no effect
C:\Users\Moritz\Desktop\RRP Server\gamemodes\Release.pwn(57808) : warning 215: expression has no effect
C:\Users\Strato\Desktop\RRP Server\gamemodes\Release.pwn(57808) : error 001: expected token: ";", but found ")"
C:\Users\Strato\Desktop\RRP Server\gamemodes\Release.pwn(57808) : error 029: invalid expression, assumed zero
C:\Users\Strato\Desktop\RRP Server\gamemodes\Release.pwn(57808) : fatal error 107: too many error messages on one line
Compilation aborted.Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase
5 Errors.
Hoffe ihr könnt mir weiterhelfen
Mfg